From ec05132fa89098a7bd16c095b7613b86612fcf2a Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Fri, 8 Aug 2014 09:29:19 +0100 Subject: [PATCH] Make array available in session Used by files that don't load settings.php --- lib/settings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/settings.php b/lib/settings.php index 9879c2c..de03dbb 100644 --- a/lib/settings.php +++ b/lib/settings.php @@ -41,6 +41,7 @@ $ICEcoder = $ICEcoderSettings + $ICEcoderUserSettings; // Include language file include(dirname(__FILE__)."/../lang/english.php"); +$_SESSION['text'] = $text; // Login not required or we're in demo mode and have password set in our settings, log us straight in if ((!$ICEcoder['loginRequired'] || $ICEcoder['demoMode']) && $ICEcoder['password']!="") {$_SESSION['loggedIn']=true;};