mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-01 12:40:45 -04:00
Warn the end user not to run test or package targets.
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
This commit is contained in:
committed by
Tim Almdal
parent
abfcdce7b1
commit
c2880f2f77
@@ -65,7 +65,10 @@ if (PHP_SAPI == "cli") {
|
||||
break;
|
||||
|
||||
default:
|
||||
print "Usage: php index.php { upgrade | package | test }\n";
|
||||
print "To upgrade:\n php index.php upgrade\n\n\n";
|
||||
print "Developer-only features:\n ** CAUTION! THESE FEATURES -WILL- DAMAGE YOUR INSTALL **\n";
|
||||
print " php index.php package # create new installer files\n";
|
||||
print " php index.php test # run unit tests\n";
|
||||
exit(1);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user