fix cli error messages
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
$sapiName = php_sapi_name();
|
||||
|
||||
if (substr($sapiName, 0, 3) != 'cli') {
|
||||
die("cron can be run only via CLI");
|
||||
die("Cron can be run only via CLI");
|
||||
}
|
||||
|
||||
include "bootstrap.php";
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
$sapiName = php_sapi_name();
|
||||
|
||||
if (substr($sapiName, 0, 3) != 'cli') {
|
||||
die("cron can be run only via CLI");
|
||||
die("Rebuild can be run only via CLI");
|
||||
}
|
||||
|
||||
include "bootstrap.php";
|
||||
|
||||
Reference in New Issue
Block a user