|
From: Florin C B. <ory...@us...> - 2013-06-17 18:05:16
|
Update of /cvsroot/mxbb/mx_smartor/admin In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv18327 Modified Files: admin_album_auth.php admin_album_cat.php admin_album_cfg.php admin_album_clearcache.php admin_album_clown_SP.php admin_album_config_personal.php admin_album_ext.php admin_album_otf.php admin_album_personal.php Log Message: Index: admin_album_config_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_config_personal.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** admin_album_config_personal.php 27 Mar 2008 14:30:54 -0000 1.6 --- admin_album_config_personal.php 17 Jun 2013 18:05:07 -0000 1.7 *************** *** 13,18 **** if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! define('MXBB_MODULE', false); ! define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; --- 13,18 ---- if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! @define('MXBB_MODULE', false); ! @define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; *************** *** 81,90 **** else { ! define( 'IN_PORTAL', 1 ); ! define( 'MXBB_MODULE', true ); - // // Main paths - // $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; --- 81,87 ---- else { ! @define( 'MXBB_MODULE', true ); // Main paths $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; *************** *** 92,96 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 89,93 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! @define('MXBB_27x', @file_exists($mx_root_path . 'mx_login.php')); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_cfg.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** admin_album_cfg.php 27 Mar 2008 14:30:47 -0000 1.10 --- admin_album_cfg.php 17 Jun 2013 18:05:07 -0000 1.11 *************** *** 13,18 **** if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! define('MXBB_MODULE', false); ! define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; --- 13,18 ---- if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! @define('MXBB_MODULE', false); ! @define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; *************** *** 37,41 **** if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { ! define('IN_CASHMOD', true); } --- 37,41 ---- if (file_exists($phpbb_root_path . 'includes/functions_cash.'.$phpEx)) { ! @define('IN_CASHMOD', true); } *************** *** 44,68 **** //error_reporting(E_ALL & ~E_NOTICE); ! define( 'PAGE_MUSIC', -506 ); // If this id generates a conflict with other mods, change it ;) - // // Instatiate the mx_cache class - // $mx_cache = new mx_cache(); - // // instatiate the mx_request_vars class - // $mx_request_vars = new mx_request_vars(); - - // // instatiate the mx_user class - // //$mx_user = new mx_user(); - // // Left Pane Paths - // $setmodules_admin_path = ''; $setmodules_module_path = "./../"; --- 44,59 ---- //error_reporting(E_ALL & ~E_NOTICE); ! @define('PAGE_MUSIC', -506); // If this id generates a conflict with other mods, change it ;) // Instatiate the mx_cache class $mx_cache = new mx_cache(); // instatiate the mx_request_vars class $mx_request_vars = new mx_request_vars(); // instatiate the mx_user class //$mx_user = new mx_user(); // Left Pane Paths $setmodules_admin_path = ''; $setmodules_module_path = "./../"; *************** *** 81,86 **** else { ! define( 'IN_PORTAL', 1 ); ! define( 'MXBB_MODULE', true ); // --- 72,76 ---- else { ! @define('MXBB_MODULE', true); // *************** *** 92,101 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); } - if( !empty($setmodules) ) { --- 82,90 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! @define('MXBB_27x', @file_exists($mx_root_path . 'mx_login.php')); $phpEx = substr(strrchr(__FILE__, '.'), 1); } if( !empty($setmodules) ) { *************** *** 105,111 **** } - // // Let's set the root dir for phpBB - // $album_root_path = $module_root_path . 'album_mod/'; require($mx_root_path . 'admin/pagestart.' . $phpEx); --- 94,98 ---- Index: admin_album_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_auth.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** admin_album_auth.php 29 Aug 2008 05:58:22 -0000 1.18 --- admin_album_auth.php 17 Jun 2013 18:05:07 -0000 1.19 *************** *** 13,20 **** $phpEx = substr(strrchr(__FILE__, '.'), 1); ! if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! define('MXBB_MODULE', false); ! define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; --- 13,20 ---- $phpEx = substr(strrchr(__FILE__, '.'), 1); ! if (@file_exists('./../viewtopic.' . $phpEx)) // -------------------------------------------- phpBB MOD MODE { ! @define('MXBB_MODULE', false); ! @define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; *************** *** 46,73 **** //error_reporting(E_ALL & ~E_NOTICE); ! define( 'PAGE_MUSIC', -506 ); // If this id generates a conflict with other mods, change it ;) - // // Instatiate the mx_cache class - // $mx_cache = new mx_cache(); - // // instatiate the mx_request_vars class - // $mx_request_vars = new mx_request_vars(); - - // // instatiate the mx_user class - // //$mx_user = new mx_user(); ! ! // // Left Pane Paths - // $setmodules_admin_path = ''; ! $setmodules_module_path = "./../"; ! if (file_exists($phpbb_root_path."modcp.$phpEx")) // phpBB2 { --- 46,63 ---- //error_reporting(E_ALL & ~E_NOTICE); ! define('PAGE_MUSIC', -506); // If this id generates a conflict with other mods, change it ;) // Instatiate the mx_cache class $mx_cache = new mx_cache(); // instatiate the mx_request_vars class $mx_request_vars = new mx_request_vars(); // instatiate the mx_user class //$mx_user = new mx_user(); ! // Left Pane Paths $setmodules_admin_path = ''; ! $setmodules_module_path = "./../"; if (file_exists($phpbb_root_path."modcp.$phpEx")) // phpBB2 { *************** *** 83,99 **** else { ! define( 'IN_PORTAL', 1 ); ! define( 'MXBB_MODULE', true ); ! ! // // Main paths - // $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; - $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); ! $phpEx = substr(strrchr(__FILE__, '.'), 1); } --- 73,82 ---- else { ! @define( 'MXBB_MODULE', true ); // Main paths $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! @define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); } Index: admin_album_clearcache.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clearcache.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** admin_album_clearcache.php 27 Mar 2008 14:30:47 -0000 1.15 --- admin_album_clearcache.php 17 Jun 2013 18:05:07 -0000 1.16 *************** *** 11,18 **** $phpEx = substr(strrchr(__FILE__, '.'), 1); ! if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! define('MXBB_MODULE', false); ! define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; --- 11,18 ---- $phpEx = substr(strrchr(__FILE__, '.'), 1); ! if (@file_exists('./../viewtopic.' . $phpEx)) // -------------------------------------------- phpBB MOD MODE { ! @define('MXBB_MODULE', false); ! @define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; *************** *** 44,68 **** //error_reporting(E_ALL & ~E_NOTICE); ! define( 'PAGE_MUSIC', -506 ); // If this id generates a conflict with other mods, change it ;) - // // Instatiate the mx_cache class - // $mx_cache = new mx_cache(); - // // instatiate the mx_request_vars class - // $mx_request_vars = new mx_request_vars(); - - // // instatiate the mx_user class - // //$mx_user = new mx_user(); - // // Left Pane Paths - // $setmodules_admin_path = ''; $setmodules_module_path = "./../"; --- 44,59 ---- //error_reporting(E_ALL & ~E_NOTICE); ! @define('PAGE_MUSIC', -506); // If this id generates a conflict with other mods, change it ;) // Instatiate the mx_cache class $mx_cache = new mx_cache(); // instatiate the mx_request_vars class $mx_request_vars = new mx_request_vars(); // instatiate the mx_user class //$mx_user = new mx_user(); // Left Pane Paths $setmodules_admin_path = ''; $setmodules_module_path = "./../"; *************** *** 81,101 **** else { ! define( 'IN_PORTAL', 1 ); ! define( 'MXBB_MODULE', true ); ! ! // // Main paths - // $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; - $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); ! $phpEx = substr(strrchr(__FILE__, '.'), 1); } - if( !empty($setmodules) ) { --- 72,84 ---- else { ! @define( 'MXBB_MODULE', true ); // Main paths $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! @define('MXBB_27x', @file_exists($mx_root_path . 'mx_login.php')); $phpEx = substr(strrchr(__FILE__, '.'), 1); } if( !empty($setmodules) ) { Index: admin_album_ext.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_ext.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** admin_album_ext.php 5 Apr 2013 11:38:14 -0000 1.7 --- admin_album_ext.php 17 Jun 2013 18:05:07 -0000 1.8 *************** *** 9,14 **** */ - define( 'IN_PORTAL', 1 ); - if ( !empty( $setmodules ) ) { --- 9,12 ---- Index: admin_album_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_cat.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** admin_album_cat.php 27 Mar 2008 14:30:46 -0000 1.15 --- admin_album_cat.php 17 Jun 2013 18:05:07 -0000 1.16 *************** *** 24,29 **** if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! define('MXBB_MODULE', false); ! define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; --- 24,30 ---- if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! @define('MXBB_MODULE', false); ! @define('IN_PORTAL', 1); ! @define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; *************** *** 67,79 **** $mx_request_vars = new mx_request_vars(); - - // // instatiate the mx_user class - // //$mx_user = new mx_user(); - // // Left Pane Paths - // $setmodules_admin_path = ''; $setmodules_module_path = "./../"; --- 68,75 ---- *************** *** 92,101 **** else { ! define( 'IN_PORTAL', 1 ); ! define( 'MXBB_MODULE', true ); - // // Main paths - // $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; --- 88,94 ---- else { ! @define( 'MXBB_MODULE', true ); // Main paths $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; *************** *** 103,107 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 96,100 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! @define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_otf.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_otf.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_album_otf.php 3 Mar 2011 14:28:40 -0000 1.5 --- admin_album_otf.php 17 Jun 2013 18:05:07 -0000 1.6 *************** *** 24,29 **** if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! define('MXBB_MODULE', false); ! define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; --- 24,29 ---- if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! @define('MXBB_MODULE', false); ! @define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; *************** *** 67,79 **** $mx_request_vars = new mx_request_vars(); - - // // instatiate the mx_user class - // //$mx_user = new mx_user(); - // // Left Pane Paths - // $setmodules_admin_path = ''; $setmodules_module_path = "./../"; --- 67,74 ---- *************** *** 92,97 **** else { ! define( 'IN_PORTAL', 1 ); ! define( 'MXBB_MODULE', true ); // --- 87,91 ---- else { ! @define( 'MXBB_MODULE', true ); // *************** *** 103,107 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define('MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php')); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 97,101 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! @define('MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php')); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_personal.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** admin_album_personal.php 29 Aug 2008 05:58:22 -0000 1.16 --- admin_album_personal.php 17 Jun 2013 18:05:07 -0000 1.17 *************** *** 13,18 **** if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! define('MXBB_MODULE', false); ! define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; --- 13,18 ---- if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! @define('MXBB_MODULE', false); ! @define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; *************** *** 27,31 **** { $mx_root_path = './../'; - include_once($mx_mod_path . "includes/mx_constants.$phpEx"); include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); --- 27,30 ---- *************** *** 55,68 **** // $mx_request_vars = new mx_request_vars(); - - // // instatiate the mx_user class - // //$mx_user = new mx_user(); - // // Left Pane Paths - // $setmodules_admin_path = ''; $setmodules_module_path = "./../"; --- 54,62 ---- *************** *** 81,97 **** else { ! define( 'IN_PORTAL', 1 ); ! define( 'MXBB_MODULE', true ); - // // Main paths - // $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; - $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); ! $phpEx = substr(strrchr(__FILE__, '.'), 1); } --- 75,85 ---- else { ! @define( 'MXBB_MODULE', true ); // Main paths $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! @define('MXBB_27x', @file_exists($mx_root_path . 'mx_login.php')); $phpEx = substr(strrchr(__FILE__, '.'), 1); } Index: admin_album_clown_SP.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clown_SP.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** admin_album_clown_SP.php 27 Mar 2008 14:30:48 -0000 1.19 --- admin_album_clown_SP.php 17 Jun 2013 18:05:07 -0000 1.20 *************** *** 13,18 **** if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! define('MXBB_MODULE', false); ! define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; --- 13,18 ---- if ( @file_exists( './../viewtopic.' . $phpEx ) ) // -------------------------------------------- phpBB MOD MODE { ! @define('MXBB_MODULE', false); ! @define('IN_PHPBB', true); $phpbb_root_path = $module_root_path = './../'; *************** *** 27,31 **** { $mx_root_path = './../'; - include_once($mx_mod_path . "includes/mx_constants.$phpEx"); include_once($mx_mod_path . "includes/shared/phpbb2/includes/functions.$phpEx"); --- 27,30 ---- *************** *** 44,68 **** //error_reporting(E_ALL & ~E_NOTICE); ! define( 'PAGE_MUSIC', -506 ); // If this id generates a conflict with other mods, change it ;) - // // Instatiate the mx_cache class - // $mx_cache = new mx_cache(); - // // instatiate the mx_request_vars class - // $mx_request_vars = new mx_request_vars(); - - // // instatiate the mx_user class - // //$mx_user = new mx_user(); - // // Left Pane Paths - // $setmodules_admin_path = ''; $setmodules_module_path = "./../"; --- 43,58 ---- //error_reporting(E_ALL & ~E_NOTICE); ! define('PAGE_MUSIC', -506); // If this id generates a conflict with other mods, change it ;) // Instatiate the mx_cache class $mx_cache = new mx_cache(); // instatiate the mx_request_vars class $mx_request_vars = new mx_request_vars(); // instatiate the mx_user class //$mx_user = new mx_user(); // Left Pane Paths $setmodules_admin_path = ''; $setmodules_module_path = "./../"; *************** *** 81,90 **** else { ! define( 'IN_PORTAL', 1 ); ! define( 'MXBB_MODULE', true ); - // // Main paths - // $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; --- 71,77 ---- else { ! @define('MXBB_MODULE', true); // Main paths $mx_root_path = './../../../'; $module_root_path = './../../../modules/mx_smartor/'; *************** *** 92,96 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 79,83 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! @define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); *************** *** 105,111 **** } - // // Let's set the root dir for phpBB - // $album_root_path = $module_root_path . 'album_mod/'; require($mx_root_path . 'admin/pagestart.' . $phpEx); --- 92,96 ---- |