|
From: Andrew <men...@us...> - 2005-12-16 03:16:09
|
Update of /cvsroot/mxbb/mx_phpbb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26544 Modified Files: db_install.php Log Message: Roar... not much. Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/db_install.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** db_install.php 14 Oct 2005 20:10:46 -0000 1.4 --- db_install.php 16 Dec 2005 03:15:43 -0000 1.5 *************** *** 20,23 **** --- 20,24 ---- define( 'IN_PORTAL', true ); + if ( !defined( 'IN_ADMIN' ) ) { *************** *** 25,31 **** --- 26,34 ---- include( $mx_root_path . 'extension.inc' ); include( $mx_root_path . 'common.' . $phpEx ); + // Start session management $userdata = session_pagestart( $user_ip, PAGE_INDEX ); mx_init_userprefs( $userdata ); + // End session management if ( !$userdata['session_logged_in'] ) *************** *** 38,44 **** die( "Hacking attempt(2)" ); } ! // End session management } $mx_module_version = 'mxBB - phpBB Integration Module 1.0.3'; $mx_module_copy = 'Based on <a href="http://www.phpbb.com/" target="_phpbb">phpBB</a>'; --- 41,48 ---- die( "Hacking attempt(2)" ); } ! } + // When we get the module field up, we'll need to remove this hardcoded version number (?) $mx_module_version = 'mxBB - phpBB Integration Module 1.0.3'; $mx_module_copy = 'Based on <a href="http://www.phpbb.com/" target="_phpbb">phpBB</a>'; *************** *** 89,98 **** { // If already installed ! $message = "<b>Module is already installed...consider upgrading ;)</b><br/><br/>"; } echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; ! echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstalling Information - module specific db tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; --- 93,102 ---- { // If already installed ! $message = "<b>Module is already installed... consider upgrading ;)</b><br/><br/>"; } echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; ! echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstallation Information - Module specific DB tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; |