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