Example #1
0
 /**
  * Boot EasySCP environment and, configuration
  *
  * @throws EasySCP_Exception
  * @return void
  */
 public static function boot()
 {
     if (!self::_isBooted()) {
         $boot = new self();
         $boot->_run();
     } else {
         throw new EasySCP_Exception('Error: EasySCP is already booted!');
     }
 }