From 0027d95139060c3a9ec5940ab9e96a714b85be74 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Mon, 7 Feb 2011 20:33:39 +0100 Subject: include local configuration file once When config.php was copied to config.inc.php it would result in a infinite include loop. --- conf/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/config.php b/conf/config.php index fccd250..781172d 100644 --- a/conf/config.php +++ b/conf/config.php @@ -43,6 +43,6 @@ $CONFIG['socket'] = NULL; # load local configuration if (file_exists(dirname(__FILE__).'/config.local.php')) - include 'config.local.php'; + include_once 'config.local.php'; ?> -- cgit v1.1