summaryrefslogtreecommitdiff
path: root/site-unavailable.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-04-26 14:26:55 +0100
committerGreg Roach <fisharebest@gmail.com>2015-04-26 14:27:05 +0100
commit31bc7874190e33336a5ff742eac1246d7473e530 (patch)
treebfd9d4cf8570ef955fa1627583bc08461e84cb7d /site-unavailable.php
parentc6310c76a32767ad2a02c7050e92fbc8506572e8 (diff)
downloadwebtrees-31bc7874190e33336a5ff742eac1246d7473e530.tar.gz
webtrees-31bc7874190e33336a5ff742eac1246d7473e530.tar.bz2
webtrees-31bc7874190e33336a5ff742eac1246d7473e530.zip
Replace Zend_Session with our own class
Diffstat (limited to 'site-unavailable.php')
-rw-r--r--site-unavailable.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/site-unavailable.php b/site-unavailable.php
index 25c9abc37e..bf2ae2894f 100644
--- a/site-unavailable.php
+++ b/site-unavailable.php
@@ -43,8 +43,7 @@ if (!file_exists(WT_DATA_DIR . 'config.ini.php')) {
return;
}
-$WT_SESSION = new \stdClass;
-$WT_SESSION->locale = '';
+Session::start();
define('WT_LOCALE', I18N::init());