From 0df7a7031597879441b38c8d454309ed61749ab0 Mon Sep 17 00:00:00 2001 From: systopia Date: Thu, 19 Mar 2015 15:24:59 +0100 Subject: [PATCH] fixed path issues --- proxy/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/config.php b/proxy/config.php index 915fee7..5c3219a 100644 --- a/proxy/config.php +++ b/proxy/config.php @@ -47,9 +47,9 @@ $debug = NULL; //'debug.log'; $api_key_map = array(); $sys_key_map = array(); -if (file_exists("secrets.php")) { +if (file_exists(dirname(__FILE__)."/secrets.php")) { // keys can also be stored in 'secrets.php' - require_once "secrets.php"; + require "secrets.php"; } // define file cache options, see http://pear.php.net/manual/en/package.caching.cache-lite.cache-lite.cache-lite.php