82 $actionClass =
'Action' . ucfirst($action);
85 foreach ($_SERVER[
'argv'] as $key => $arg) {
87 $args[] = $action == self::EXT ? $arg : base64_decode($arg);
91 $this->current =
null;
92 if (class_exists($actionClass)) {
94 $this->current =
new $actionClass($args);
110 public function call($actionName, $actionArgs =
null)
112 $actionClass =
'Action' . ucfirst($actionName);
113 if (class_exists($actionClass)) {
115 new $actionClass($actionArgs);
129 return isset($_SERVER[
'argv'])
130 && isset($_SERVER[
'argv'][1])
131 && !empty($_SERVER[
'argv'][1]);
const REFRESH_REPOS_STARTUP
call($actionName, $actionArgs=null)
const SWITCH_PHP_EXTENSION
const GEN_SSL_CERTIFICATE
const SWITCH_LOGS_VERBOSE
const SWITCH_APACHE_MODULE
static logDebug($data, $file=null)
static cleanArgv($name, $type='text')