Esempio n. 1
0
 /**
  * Initialize the necessary stuffs for running the application
  * 
  * @param none
  * @return void
  */
 private function __construct()
 {
     ErrorExceptionHandler::getInstance();
     $this->removeMagicQuotes();
     $this->unRegisterGlobals();
     $this->loadLocalization();
 }
<?php

use Define\Utilities\ErrorExceptionHandler;
define("DIRECT_ACCESS", TRUE);
ErrorExceptionHandler::getInstance();
// create some error or exception.