From cb0677fbffa53db9682277bc796384a7af715a91 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 30 Oct 2011 13:05:28 -0400 Subject: setting $CONFIG->context earlier to avoid using the context functions before it is initialized --- engine/lib/configuration.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engine/lib/configuration.php') diff --git a/engine/lib/configuration.php b/engine/lib/configuration.php index c6db515e8..615063f3d 100644 --- a/engine/lib/configuration.php +++ b/engine/lib/configuration.php @@ -572,6 +572,8 @@ function set_default_config() { } } + $CONFIG->context = array(); + return true; } -- cgit v1.2.3