Поправил установщик для сайтов
This commit is contained in:
parent
a48bce8552
commit
dd08a235c0
2 changed files with 10 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue