From 61c6270eddf1022b24c6d53858df739236d5e178 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Fri, 1 Mar 2013 16:23:10 +0000 Subject: [PATCH] XAMPP needs more specific path Possibly because index.php is calling lib/settings.php and this in turn is calling config.php from it's location. Most web servers know you're calling from the same dir but maybe XAMPP is thinking config.php should be included from the index.php location? Anyway, fixed with a more specific path. --- lib/settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/settings.php b/lib/settings.php index 53101a2..e0361e3 100644 --- a/lib/settings.php +++ b/lib/settings.php @@ -47,7 +47,7 @@ if (!file_exists(dirname(__FILE__)."/".$settingsFile)) { die("Couldn't create $settingsFile. Maybe you need write permissions on the lib folder?"); } } -include($settingsFile); +include(dirname(__FILE__)."/".$settingsFile); // Add ICEcoder settings to beginning of $ICEcoder array $ICEcoder = array(