From e3a8308e0033e6bbde6fd3bbc9536d789b473454 Mon Sep 17 00:00:00 2001 From: czaks Date: Tue, 7 Apr 2015 00:04:55 +0200 Subject: [PATCH] infinity/smart-build: fix order of loading --- inc/instance-config.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/instance-config.php b/inc/instance-config.php index 529b266c..0826e894 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -7,8 +7,6 @@ * * You can copy values from config.php (defaults) and paste them here. */ - require_once "instance-functions.php"; - // Note - you may want to change some of these in secrets.php instead of here // See the secrets.example.php file $config['db']['server'] = 'localhost'; @@ -202,6 +200,9 @@ $config['report_captcha'] = true; // 8chan specific mod pages require '8chan-mod-config.php'; + +// Load instance functions later on +require_once 'instance-functions.php'; // Load database credentials require "secrets.php";