fix cli error messages

This commit is contained in:
Yuri Kuznetsov
2014-06-02 16:27:44 +03:00
parent f89ff39dbb
commit defa3b5cfc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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";