|
From: FlorinCB <ory...@us...> - 2008-09-30 07:05:59
|
Update of /cvsroot/mxbb/core/install In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26368/install Modified Files: mx_install.php Log Message: rewrite for php4 and php6 issues Index: mx_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/mx_install.php,v retrieving revision 1.112 retrieving revision 1.113 diff -C2 -d -r1.112 -r1.113 *** mx_install.php 24 Sep 2008 15:37:06 -0000 1.112 --- mx_install.php 30 Sep 2008 07:04:45 -0000 1.113 *************** *** 34,37 **** --- 34,38 ---- $mx_portal_name = 'MX-Publisher Modular System'; $mx_portal_version = '3.0.0-b3'; + $mx_php_version = '5.1.2'; $mx_portal_copy = '<b>MX-Publisher Modular System!</b> <br /><br/> MX-Publisher is a fully modular system, portal and CMS, featuring dynamic pages, blocks, and themes, by means of a powerful yet flexible AdminCP. It is the classical phpBB portal add-on, improved and enhanced for every phpBB version released since 2001 (originally named MX-Publisher). <br /><br />Authors: The MX-Publisher Development Team. <br />Please visit <a href="http://www.mx-publisher.com/">www.mx-publisher.com</a> for further information.'; *************** *** 40,44 **** // This is shown in the top right corner of the installation panels. // ! define('INSTALLER_VERSION', '3.0.4'); define('INSTALLER_NAME', 'MX-Publisher-IWizard'); --- 41,45 ---- // This is shown in the top right corner of the installation panels. // ! define('INSTALLER_VERSION', '3.0.3'); define('INSTALLER_NAME', 'MX-Publisher-IWizard'); *************** *** 67,71 **** $mx_root_path = '../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); ! $tplEx = 'tpl'; // // FYI: --- 68,72 ---- $mx_root_path = '../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); ! $tplEx = @file_exists($mx_root_path.'install/templates/mx_install_header.html') ? 'html' : 'tpl'; // // FYI: *************** *** 75,79 **** @ini_set( 'display_errors', '1' ); error_reporting(E_ALL ^ E_NOTICE); ! error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //include($mx_root_path . "modules/mx_shared/ErrorHandler/prepend.$phpEx"); // For nice error output --- 76,80 ---- @ini_set( 'display_errors', '1' ); error_reporting(E_ALL ^ E_NOTICE); ! //error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables //include($mx_root_path . "modules/mx_shared/ErrorHandler/prepend.$phpEx"); // For nice error output *************** *** 351,355 **** 'COMMENTS' => 'mx_remove_remarks' ), - //This is when the user installed phpBB3 with mysql 6.x if not he can use mysqli 'mysql6' => array( 'LABEL' => 'MySQL 6.x', --- 352,355 ---- *************** *** 602,611 **** case 'phpbb2': ! $tplEx = $tplEx ? $tplEx : 'tpl'; break; case 'phpbb3': ! $tplEx = $tplEx ? $tplEx : 'html'; break; } --- 602,611 ---- case 'phpbb2': ! //$tplEx = 'tpl'; break; case 'phpbb3': ! //$tplEx = 'html'; break; } |