Example #1
0
 /**
  * Kill the script
  *
  * @param integer $exitcode
  * @return void
  */
 public static function terminate($exitcode)
 {
     if (self::$controller === null) {
         exit($exitcode);
     }
     self::$controller->terminate($exitcode);
 }