Skip to content
Snippets Groups Projects
Commit 61e919fe authored by selabnayr's avatar selabnayr
Browse files

More fixed paths for the config file...

parent e0de16df
Branches
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
require_once('backend.php');
$backend = new Backend();
$backend->connect('/var/www/config.ini');
$backend->connect('config.ini');
if (!$backend->auth($_POST['username'], $_POST['password'])) {
header($_SERVER['SERVER_PROTOCOL'].' 403 Forbidden');
header('Status: 403 Forbidden');
......
......@@ -2,7 +2,7 @@
require_once('backend.php');
$backend = new Backend();
$backend->connect('/var/www/config.ini');
$backend->connect('config.ini');
if (!$backend->auth($_POST['username'], $_POST['password'])) {
header($_SERVER['SERVER_PROTOCOL'].' 403 Forbidden');
header('Status: 403 Forbidden');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment