|
From: FlorinCB <ory...@us...> - 2008-06-26 22:02:36
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23137/sessions/phpbb3 Modified Files: session.php Log Message: experimental setup() method for all backends Index: session.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/session.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** session.php 26 Jun 2008 19:40:30 -0000 1.20 --- session.php 26 Jun 2008 22:02:02 -0000 1.21 *************** *** 1305,1311 **** } - // We include common language file here to not load it every time a custom language file is included - $lang = &$this->lang; - if ((@include $this->lang_path . "common.$phpEx") === false) { --- 1305,1308 ---- *************** *** 1316,1335 **** } } ! //Added by OryNider (temparary fix) ! /* ! if ($lang_set) ! { ! if ((@include $this->lang_path . "{$lang_set}.$phpEx") === false) ! { ! //this will fix the path for anonymouse users ! if ((@include $phpbb_root_path . $this->lang_path . "{$lang_set}.$phpEx") === false) ! { ! die('Language file ' . $this->lang_path . "{$lang_set}.$phpEx" . ' couldn\'t be opened.'); ! } ! } ! } ! */ ! $this->add_lang($lang_set); unset($lang_set); --- 1313,1319 ---- } } ! $this->add_lang($lang_set); + unset($lang_set); |