|
From: OryNider <ory...@us...> - 2007-12-16 16:15:56
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23926/sessions/phpbb3 Modified Files: session.php Log Message: This will fix the anonymous default lang name for phpBB3 sessions ;) Index: session.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/session.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** session.php 12 Sep 2007 19:28:26 -0000 1.2 --- session.php 16 Dec 2007 16:15:49 -0000 1.3 *************** *** 1259,1263 **** if ((@include $this->lang_path . "common.$phpEx") === false) { ! die('Language file ' . $this->lang_path . "common.$phpEx" . " couldn't be opened."); } --- 1259,1267 ---- if ((@include $this->lang_path . "common.$phpEx") === false) { ! //this will fix the path for anonymouse users ! if ((@include $phpbb_root_path . $this->lang_path . "common.$phpEx") === false) ! { ! die('Language file ' . $phpbb_root_path . $this->lang_path . "common.$phpEx" . " couldn't be opened."); ! } } |