private function __construct() { \GF\Loader::registerNamespace('GF', dirname(__FILE__ . DIRECTORY_SEPARATOR)); \GF\Loader::registerAutoLoad(); $this->_config = \GF\Config::getInstance(); //if($this->_config->getConfigFolder() == null){ // $this->_config->setConfigFolder('../config'); //} }
private function __construct() { set_exception_handler(array($this, '_exceptionHandler')); \GF\Loader::registerNamespace('GF', dirname(__FILE__) . DIRECTORY_SEPARATOR); \GF\Loader::registerAutoload(); $this->config = \GF\Config::getInstance(); if ($this->config->getConfigFolder() == null) { $this->setConfigFolder('../Config'); } }