From 2440bc75cc20b45113902664755df74ec6cb9f78 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Tue, 18 Sep 2018 22:55:43 -0400 Subject: [PATCH] Fix for bug #22 --- ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajax.php b/ajax.php index 96aeddd..1875a6b 100644 --- a/ajax.php +++ b/ajax.php @@ -52,7 +52,7 @@ include_once 'config.inc'; include_once 'import.inc'; include_once 'helper.inc'; -chdir(DOC_ROOT); +chdir(dirname(__FILE__)); $db = new db(); $conn = new mysqli(DB_SERVER, "web", db::decrypt_pwd(), 'sagacity');