This commit is contained in:
jakani24
2024-06-08 17:41:19 +02:00
parent c0005b9dd0
commit 5ebda75c9a
2 changed files with 2 additions and 4 deletions

View File

@@ -316,7 +316,7 @@
}
// 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">
Created export dir successfully.
</div>';
@@ -348,7 +348,7 @@
echo '<br><div class="alert alert-danger" role="alert">
Error creating backup dir.
</div>';
}
}*/
if($success!==1){
echo '<br><div class="alert alert-danger" role="alert">

View File

@@ -27,7 +27,6 @@ function create_log_backup($conn){ //the $conn is the linker variable to the db
}
fclose($fp);
$stmt->close();
$conn->close();
}
@@ -57,7 +56,6 @@ function create_dashboard_backup($conn){
fclose($fp);
$stmt->close();
$conn->close();
}