mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
parent
20fd66fd6a
commit
19a7167597
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue