Поправил установщик для сайтов

This commit is contained in:
origami11 2017-06-23 15:51:38 +03:00
parent a48bce8552
commit dd08a235c0
2 changed files with 10 additions and 8 deletions

View file

@ -14,11 +14,11 @@ class Database_JsonInstall {
if (is_string($dbinit_file)) {
$initActions = json_decode($dbinit_file, true);
if (!$initActions) {
echo "Invalid dbinit.json ".$dbinit_file;
echo "Invalid ".$dbinit_path;
return 0;
}
} else {
echo "No dbinit.json";
echo "No ".$dbinit_path;
return 0;
}