public function __construct()
 {
     parent::__construct();
 }
Example #2
0
 /**
  * Initalises the application handler object used by Atsumi to process the developers
  * application as well as setting up any debug related items if debug is enabled
  * @param atsumi_AbstractAppSettings $settings
  */
 public function _initApp(atsumi_AbstractAppSettings $settings)
 {
     if ($settings->getDebug()) {
         atsumi_Debug::setActive(true);
         atsumi_Debug::setConfig($settings);
         $this->testEnviroment();
     } else {
         $this->errorHandler->setDisplayErrors(false);
     }
     $this->appHandler = new atsumi_AppHandler($settings, $this->errorHandler);
 }