@@ 14-16 (lines=3) @@ | ||
11 | require __DIR__ . '/Installer.php'; |
|
12 | ||
13 | $app = 'application'; |
|
14 | if ($argv && $argv[1] && is_dir($argv[1])) { |
|
15 | $app = $argv[1]; |
|
16 | } |
|
17 | $installer = new Installer(); |
|
18 | $installer->install($app); |
|
19 |
@@ 14-16 (lines=3) @@ | ||
11 | require __DIR__ . '/Installer.php'; |
|
12 | ||
13 | $app = 'application'; |
|
14 | if ($argv && $argv[1] && is_dir($argv[1])) { |
|
15 | $app = $argv[1]; |
|
16 | } |
|
17 | $installer = new Installer(); |
|
18 | $installer->update($app); |
|
19 |