예제 #1
0
파일: App.php 프로젝트: efexr/mvcframework
 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');
     //}
 }
예제 #2
0
 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');
     }
 }