fix path for cybersecurity issues

fix path in admin.php & add to config.php mdp to connect to panel admin ( config.php is not commited )
This commit is contained in:
2026-05-18 00:37:51 +02:00
parent 30b858649a
commit 2d4f609562
2 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
header('Content-Type: application/json');
/* --- CONFIGURATION & SETUP --- */
$config = require_once __DIR__ . '/config.php';
$config = require_once 'config.php';
$host = $config['host'];
$dbname = $config['dbname'];
$username = $config['username'];