Compare commits
No commits in common. "154bd410a4cc0b416474a1a67b461e0b5d11718d" and "21e577b2caa84cb80573818c7e9493f04e6e4a61" have entirely different histories.
154bd410a4
...
21e577b2ca
File diff suppressed because it is too large
Load Diff
|
@ -5,7 +5,7 @@ Shell Script to update phpBB to current version.
|
|||
|
||||
Usage:
|
||||
|
||||
Switch into your current phpBB root directory, then
|
||||
Switch into you current phpBB root directory, then
|
||||
|
||||
`git clone https://git.24unix.net/tracer/phpbb_updates.git`
|
||||
|
||||
|
|
13
update.php
13
update.php
|
@ -6,17 +6,4 @@ use App\UpdateController;
|
|||
require __DIR__ . '/vendor/autoload.php';
|
||||
|
||||
$update = new UpdateController();
|
||||
|
||||
$options = $update->parseOpts();
|
||||
|
||||
// Help option
|
||||
if (array_key_exists(key: 'h', array: $options) || array_key_exists(key: 'help', array: $options)) {
|
||||
$update->printHelp();
|
||||
exit(0);
|
||||
}
|
||||
|
||||
if (array_key_exists(key: 'd', array: $options) || array_key_exists(key: 'dry-run', array: $options)) {
|
||||
$update->setDryRun();
|
||||
}
|
||||
|
||||
$update->handleUpdate();
|
||||
|
|
Loading…
Reference in New Issue