Exemplo n.º 1
0
 public function __construct()
 {
     /*
     $trace = debug_backtrace();
     if($trace[1]['class'] != 'Singleton'){
         e($trace);
         trigger_error("Class ".$trace[0]['class'].' must be called from the Singilton Core Class', E_USER_ERROR );
     }
     parent::__construct();
     */
     $this->core = Singleton::factory('Core');
     $this->configSet();
 }