Server IP : 172.24.0.40 / Your IP : 216.73.216.10 Web Server : Apache System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64 User : apache ( 48) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/pjahs/public_html/wp-content/plugins/wordfence/lib/ |
Upload File : |
<?php class wfPersistenceController { private $_disclosureStates; public static function shared() { static $_shared = false; if ($_shared === false) { $_shared = new wfPersistenceController(); } return $_shared; } public function __construct() { $this->_disclosureStates = wfConfig::get_ser('disclosureStates', array()); } /** * Returns whether the options block is in an active state. * * @param $key * @return bool */ public function isActive($key, $default = false) { if (!isset($this->_disclosureStates[$key])) { return $default; } return !!$this->_disclosureStates[$key]; } /** * Returns whether the options block has been set. * * @param $key * @return bool */ public function isConfigured($key) { return isset($this->_disclosureStates[$key]); } }