public function init($file = GC_FILE_CONFIG_COMPILED)
    {
        $this->initialized = false;

        $this->setErrorHandlers();

        if (is_file($file)) {
            $this->setConfig($file);
            $this->setErrorLevel();
            $this->setKey();
            $this->setLogger();
            date_default_timezone_set($this->get('timezone', 'Europe/London'));
            $this->initialized = true;
        }

        return $this->initialized;
    }
public function init($file = GC_FILE_CONFIG_COMPILED)
    {
        $this->initialized = false;

        $this->setErrorHandlers();

        if (is_file($file)) {
            $this->setConfig($file);
            $this->setErrorLevel();
            $this->setKey();
            $this->setLogger();
            date_default_timezone_set($this->get('timezone', 'Europe/London'));
            $this->initialized = true;
        }

        return $this->initialized;
    }
public function init ( $ file = GC_FILE_CONFIG_COMPILED ) { $ this -> initialized = false ; $ this -> setErrorHandlers ( ) ; if ( is_file ( $ file ) ) { $ this -> setConfig ( $ file ) ; $ this -> setErrorLevel ( ) ; $ this -> setKey ( ) ; $ this -> setLogger ( ) ; date_default_timezone_set ( $ this -> get ( 'timezone' , 'Europe/London' ) ) ; $ this -> initialized = true ; } return $ this -> initialized ; }
Initialize the system configuration
@param string $file
@return bool
Initialize the system configuration