|
From: OryNider <ory...@us...> - 2008-02-05 21:56:45
|
Update of /cvsroot/mxbb/mx_shoutbox/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6216 Modified Files: Tag: core28x admin_mx_shoutbox.php Log Message: include file removed for compatibility with php5 Index: admin_mx_shoutbox.php =================================================================== RCS file: /cvsroot/mxbb/mx_shoutbox/admin/admin_mx_shoutbox.php,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** admin_mx_shoutbox.php 21 Jun 2007 18:21:05 -0000 1.1 --- admin_mx_shoutbox.php 5 Feb 2008 21:56:41 -0000 1.1.2.1 *************** *** 10,27 **** // ------------------------------------------------------------- ! if( !empty($setmodules) ) { ! $module['Shoutbox']['Configuration'] = 'modules/mx_shoutbox/admin/' . @basename(__FILE__); return; } - - define('IN_PORTAL', true); $mx_root_path = '../../../'; $module_root_path = '../'; - require( $mx_root_path . 'admin/pagestart.php'); - include( $module_root_path . 'includes/constants.'.$phpEx ); ! include( $mx_root_path . 'admin/page_header_admin.'.$phpEx ); // --- 10,34 ---- // ------------------------------------------------------------- ! define('IN_PORTAL', true); ! ! if ( !empty( $setmodules ) ) { ! $file = @basename( __FILE__ ); ! $module['Shoutbox']['Configuration'] = 'modules/mx_shoutbox/admin/' . $file; return; } $mx_root_path = '../../../'; $module_root_path = '../'; ! // ! // Security and page header... ! // ! // ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! require($mx_root_path . '/admin/pagestart.'.$phpEx); ! ! include($module_root_path . 'includes/constants.'.$phpEx); ! //include($mx_root_path . 'admin/page_header_admin.'.$phpEx); // *************** *** 48,52 **** else { ! while( $row = $db->sql_fetchrow($result) ) { $config_name = $row['config_name']; --- 55,59 ---- else { ! while($row = $db->sql_fetchrow($result)) { $config_name = $row['config_name']; *************** *** 146,150 **** $template->pparse('admin_shoutbox'); ! include_once( $mx_root_path . 'admin/page_footer_admin.'.$phpEx); ?> --- 153,157 ---- $template->pparse('admin_shoutbox'); ! include_once($mx_root_path . 'admin/page_footer_admin.'.$phpEx); ?> |