Update create_db.php
This commit is contained in:
@@ -297,27 +297,27 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 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>';
|
||||||
} else {
|
//} else {
|
||||||
$success=0;
|
// $success=0;
|
||||||
echo '<br><div class="alert alert-danger" role="alert">
|
// echo '<br><div class="alert alert-danger" role="alert">
|
||||||
Error creating export dir.
|
// Error creating export dir.
|
||||||
</div>';
|
// </div>';
|
||||||
}
|
//}
|
||||||
// Attempt to create the directory where import files will be stored later on
|
// Attempt to create the directory where import files will be stored later on
|
||||||
if (mkdir("/var/www/html/import", 0777, true)) {
|
//if (mkdir("/var/www/html/import", 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>';
|
||||||
} else {
|
//} else {
|
||||||
$success=0;
|
// $success=0;
|
||||||
echo '<br><div class="alert alert-danger" role="alert">
|
// echo '<br><div class="alert alert-danger" role="alert">
|
||||||
Error creating export dir.
|
// Error creating export 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">
|
||||||
|
|||||||
Reference in New Issue
Block a user