1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
DanielnetoDotCom 2020-08-13 14:03:50 -03:00
parent 20fd66fd6a
commit 19a7167597

View file

@ -57,8 +57,9 @@ if ($_POST['createTables'] > 0) {
// Temporary variable, used to store current query
$templine = '';
$installFile = "{$_POST['systemRootPath']}install/database.sql";
if(file_exists($installFile)){
if(!file_exists($installFile)){
$obj->error = "File Not found {$installFile}";
echo json_encode($obj);
exit;
}
// Read in entire file