From 6ee6574076ef8a3c724d7e652d36402575cc61e9 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Mon, 21 Mar 2016 22:14:29 +0000 Subject: [PATCH] include_once(config.local.php) instead of include()ing it This should avoid problems with endless include loops like in https://sourceforge.net/p/postfixadmin/bugs/367/ git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1830 a1433add-5e2c-0410-b055-b7f2511e0802 --- config.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.inc.php b/config.inc.php index 7bb82861..c88bf2b9 100644 --- a/config.inc.php +++ b/config.inc.php @@ -574,7 +574,7 @@ $CONF['xmlrpc_enabled'] = false; // file (config.local.php) instead of editing this file and override some // settings there. if (file_exists(dirname(__FILE__) . '/config.local.php')) { - include(dirname(__FILE__) . '/config.local.php'); + include_once(dirname(__FILE__) . '/config.local.php'); } //