u
This commit is contained in:
@@ -316,7 +316,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Attempt to create the directory where export files will be stored later on
|
// Attempt to create the directory where export files will be stored later on
|
||||||
if (mkdir("/var/www/html/export", 0777, true)) {
|
/*if (mkdir("/var/www/html/export", 0777, true)) {
|
||||||
echo '<br><div class="alert alert-success" role="alert">
|
echo '<br><div class="alert alert-success" role="alert">
|
||||||
Created export dir successfully.
|
Created export dir successfully.
|
||||||
</div>';
|
</div>';
|
||||||
@@ -348,7 +348,7 @@
|
|||||||
echo '<br><div class="alert alert-danger" role="alert">
|
echo '<br><div class="alert alert-danger" role="alert">
|
||||||
Error creating backup dir.
|
Error creating backup dir.
|
||||||
</div>';
|
</div>';
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if($success!==1){
|
if($success!==1){
|
||||||
echo '<br><div class="alert alert-danger" role="alert">
|
echo '<br><div class="alert alert-danger" role="alert">
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ function create_log_backup($conn){ //the $conn is the linker variable to the db
|
|||||||
}
|
}
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
$stmt->close();
|
$stmt->close();
|
||||||
$conn->close();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,7 +56,6 @@ function create_dashboard_backup($conn){
|
|||||||
|
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
$stmt->close();
|
$stmt->close();
|
||||||
$conn->close();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user