fixed path issues

This commit is contained in:
systopia 2015-03-19 15:24:59 +01:00
parent c86617508a
commit 0df7a70315
1 changed files with 2 additions and 2 deletions

View File

@ -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