From e0de16df17eba12685bd66d7c476b7e043c11565 Mon Sep 17 00:00:00 2001
From: selabnayr <ryan.bales@stmproducts.com>
Date: Mon, 8 Feb 2016 12:22:15 -0800
Subject: [PATCH] Make it look in the current directory instead of a fixed path
 for the config file.

---
 search.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/search.php b/search.php
index f32cbcf..00d55ea 100644
--- a/search.php
+++ b/search.php
@@ -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');
-- 
GitLab