public function loadConfigData()
    {
        $this->config = json_decode(file_get_contents(CONFIG_DIR . DIRECTORY_SEPARATOR . self::CONFIG_FILE), true) ?: [];
        $this->debug = array_key_exists('debug', $this->config) ? (bool)$this->config['debug'] : FALSE;
    }
public function loadConfigData()
    {
        $this->config = json_decode(file_get_contents(CONFIG_DIR . DIRECTORY_SEPARATOR . self::CONFIG_FILE), true) ?: [];
        $this->debug = array_key_exists('debug', $this->config) ? (bool)$this->config['debug'] : FALSE;
    }
public function loadConfigData ( ) { $ this -> config = json_decode ( file_get_contents ( CONFIG_DIR . DIRECTORY_SEPARATOR . self :: CONFIG_FILE ) , true ) ? : [ ] ; $ this -> debug = array_key_exists ( 'debug' , $ this -> config ) ? ( bool ) $ this -> config [ 'debug' ] : FALSE ; }
Method that reloads config file
Method that reloads config file