Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
609f6ad1f1 | ||
|
|
9ecbf8e83e | ||
|
|
32532147e8 | ||
|
|
2fd033a8c5 | ||
|
|
a1b030e463 | ||
|
|
21fb878ffb | ||
|
|
2114bcc8b5 | ||
|
|
7d88fc5066 | ||
|
|
08a53a737f | ||
|
|
46e90bd798 | ||
|
|
c8b88021ed | ||
|
|
dabe69967d | ||
|
|
154bd410a4 | ||
|
|
7e85faf2f2 | ||
|
|
21e577b2ca | ||
|
|
04ae283e13 | ||
|
|
9f31cf0304 | ||
|
|
e3a9fb1454 | ||
|
|
b99438c925 |
+571
-495
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 you current phpBB root directory, then
|
||||
Switch into your current phpBB root directory, then
|
||||
|
||||
`git clone https://git.24unix.net/tracer/phpbb_updates.git`
|
||||
|
||||
@@ -21,7 +21,7 @@ Then: Install composer (https://getcomposer.org/download/) and run
|
||||
`composer install`
|
||||
|
||||
followed by:
|
||||
`php update.php`
|
||||
`php update.php` or `/update.php`
|
||||
|
||||
If you are using KeyHelp, replace
|
||||
|
||||
@@ -31,3 +31,5 @@ and
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
"require": {
|
||||
"php-school/cli-menu": "^4.3",
|
||||
"ext-curl": "*",
|
||||
"ext-posix": "*",
|
||||
"ext-pdo": "*"
|
||||
},
|
||||
|
||||
+14
-2
@@ -1,9 +1,21 @@
|
||||
#!/usr/bin/keyhelp-php81 -d apc.enable_cli=1
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user