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:
+1
-1
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user