diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-04-26 14:26:55 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-04-26 14:27:05 +0100 |
| commit | 31bc7874190e33336a5ff742eac1246d7473e530 (patch) | |
| tree | bfd9d4cf8570ef955fa1627583bc08461e84cb7d /site-offline.php | |
| parent | c6310c76a32767ad2a02c7050e92fbc8506572e8 (diff) | |
| download | webtrees-31bc7874190e33336a5ff742eac1246d7473e530.tar.gz webtrees-31bc7874190e33336a5ff742eac1246d7473e530.tar.bz2 webtrees-31bc7874190e33336a5ff742eac1246d7473e530.zip | |
Replace Zend_Session with our own class
Diffstat (limited to 'site-offline.php')
| -rw-r--r-- | site-offline.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/site-offline.php b/site-offline.php index 7294cb27e3..4154f05446 100644 --- a/site-offline.php +++ b/site-offline.php @@ -32,10 +32,7 @@ define('WT_BASE_URL', ''); define('WT_ROOT', ''); define('WT_DATA_DIR', realpath('data') . DIRECTORY_SEPARATOR); define('WT_MODULES_DIR', 'modules_v3/'); - -$WT_SESSION = new \stdClass; -$WT_SESSION->locale = ''; - +Session::start(); define('WT_LOCALE', I18N::init()); if (file_exists(WT_DATA_DIR . 'offline.txt')) { |
