Fixed DB constants issue with absolute paths
This commit is contained in:
parent
2d697b512d
commit
5fcc4d0e74
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
session_start();
|
||||
require_once "db.php";
|
||||
require_once __DIR__ . "/db.php";
|
||||
|
||||
|
||||
header("Content-Type: application/json");
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
session_start();
|
||||
require_once "db.php"; // Ensure you have a DB connection file
|
||||
require_once __DIR__ . "/db.php";
|
||||
// Ensure you have a DB connection file
|
||||
|
||||
header("Content-Type: application/json");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue