示例#1
0
 /**
  * Protected constructor to prevent creating a new instance of the
  * *Singleton* via the `new` operator from outside of this class.
  */
 private function __construct()
 {
     \GTFramework\Loader::registerNamespace('GTFramework', dirname(__FILE__) . DIRECTORY_SEPARATOR);
     \GTFramework\Loader::registerAutoLoad();
     $this->_config = \GTFramework\Config::getInstance();
     if ($this->_config->_configFolder == NULL) {
         $this->_config->setConfigFolder('../config');
     }
     self::$logger = \GTFramework\Logger::getInstance();
 }