|
From: OryNider <ory...@us...> - 2008-03-13 08:36:27
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26794 Modified Files: album.php db_install.php db_upgrade.php Log Message: upgrade version to 2.0.2 for core29x branch Index: album.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** album.php 13 Mar 2008 03:43:41 -0000 1.23 --- album.php 13 Mar 2008 08:35:53 -0000 1.24 *************** *** 36,40 **** $phpEx = substr(strrchr(__FILE__, '.'), 1); ! if ( !defined('PORTAL_BACKEND') && @file_exists( './viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { define('MXBB_MODULE', false); --- 36,40 ---- $phpEx = substr(strrchr(__FILE__, '.'), 1); ! if (@file_exists( './viewtopic.' . $phpEx )) // -------------------------------------------- phpBB MOD MODE { define('MXBB_MODULE', false); *************** *** 362,366 **** include($album_root_path. 'modules/album_personal_random.'.$phpEx); } ! else if( !is_object($mx_block)) { die("Hacking attempt"); --- 362,366 ---- include($album_root_path. 'modules/album_personal_random.'.$phpEx); } ! else if(!is_object($mx_block) && MXBB_MODULE) { die("Hacking attempt"); |