This commit is contained in:
jakani24
2024-06-20 15:43:50 +02:00
parent 1cb5c674e8
commit c1ef1c703a
2 changed files with 6 additions and 1 deletions

View File

@@ -69,6 +69,9 @@ include "../../../api/php/log/add_server_entry.php"; //to log things
$stmt->execute();
$stmt->close();
$conn->close();
//add direcotrys etc
echo '<div class="alert alert-success" role="alert">
Incident added successfully!
</div>';

View File

@@ -3,7 +3,9 @@ docker volume create cyberhex-db-storage
mkdir -p cyberhex-code/database_srv
mkdir -p cyberhex-code/export
mkdir -p cyberhex-code/import
mkdir -p cyberhex-code/incidents
chown -R www-data:www-data cyberhex-code/export/
chown -R www-data:www-data cyberhex-code/import/
chown -R www-data:www-data cyberhex-code/install/
chown -R www-data:www-data cyberhex-code/database_srv/
chown -R www-data:www-data cyberhex-code/incidents/