示例#1
0
 /**
  * Run the console
  */
 public static function console($root = "", $session = true)
 {
     self::setCaseVars(true, false);
     //
     self::consoleServerVars();
     //
     self::setScreen();
     //
     self::setRoot($root);
     // call the connector and run it
     self::consoleConnector();
     Connector::run(true);
     //
     self::ini();
     //
     self::fetcher(false);
     //
     return true;
 }