@@ -62,8 +62,8 @@ discard block |
||
62 | 62 | public function loadModxInstall() |
63 | 63 | { |
64 | 64 | /* to validate installation, instantiate the modX class and run a few tests */ |
65 | - if (include_once (M_CORE_PATH . 'model/modx/modx.class.php')) { |
|
66 | - $modx = new modX(M_CORE_PATH . 'config/', [ |
|
65 | + if (include_once (M_CORE_PATH.'model/modx/modx.class.php')) { |
|
66 | + $modx = new modX(M_CORE_PATH.'config/', [ |
|
67 | 67 | \xPDO::OPT_SETUP => true, |
68 | 68 | ]); |
69 | 69 | |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | $modx->setLogTarget(array( |
74 | 74 | 'target' => 'FILE', |
75 | 75 | 'options' => array( |
76 | - 'filename' => 'install.' . MODX_CONFIG_KEY . '.' . strftime('%Y%m%dT%H%M%S') . '.log' |
|
76 | + 'filename' => 'install.'.MODX_CONFIG_KEY.'.'.strftime('%Y%m%dT%H%M%S').'.log' |
|
77 | 77 | ) |
78 | 78 | )); |
79 | 79 |
@@ -101,7 +101,7 @@ |
||
101 | 101 | foreach ($commands as $command) { |
102 | 102 | $class = new $command(); |
103 | 103 | |
104 | - if (is_object($class) ) { |
|
104 | + if (is_object($class)) { |
|
105 | 105 | if (method_exists($class, 'addConsole')) { |
106 | 106 | $class->addConsole($this->console); |
107 | 107 | } |
@@ -39,9 +39,9 @@ |
||
39 | 39 | return new InputDefinition(array( |
40 | 40 | new InputArgument('command', InputArgument::REQUIRED, 'The command to execute'), |
41 | 41 | |
42 | - new InputOption('--help', '-h', InputOption::VALUE_NONE, 'Display this help message.'), |
|
42 | + new InputOption('--help', '-h', InputOption::VALUE_NONE, 'Display this help message.'), |
|
43 | 43 | //new InputOption('--verbose', '-v|vv|vvv', InputOption::VALUE_NONE, 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug.'), |
44 | - new InputOption('--version', '-V', InputOption::VALUE_NONE, 'Display the Blend version.'), |
|
44 | + new InputOption('--version', '-V', InputOption::VALUE_NONE, 'Display the Blend version.'), |
|
45 | 45 | )); |
46 | 46 | } |
47 | 47 |