MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Revised BSD License for more details.
- Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
- Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
+ Copyright 2004-2009 iDB Support - http://idb.berlios.de/
+ Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
iDB Installer made by Game Maker 2k - http://idb.berlios.de/support/category.php?act=view&id=2
- $FileInfo: install.php - Last Update: 12/12/2008 SVN 215 - Author: cooldude2k $
+ $FileInfo: install.php - Last Update: 6/16/2009 SVN 264 - Author: cooldude2k $
*/
+if(@ini_get("register_globals")) {
+require_once('inc/misc/killglobals.php'); }
@error_reporting(E_ALL ^ E_NOTICE);
if(@ini_get("register_globals")) {
if(!isset($SettDir['misc'])) { $SettDir['misc'] = "inc/misc/"; }
$Settings['charset']!="GB2312"&&$Settings['charset']!="BIG5-HKSCS"&&
$Settings['charset']!="Shift_JIS"&&$Settings['charset']!="EUC-JP") {
$Settings['charset'] = "ISO-8859-15"; } }
+$SQLCharset = "latin1";
+if(isset($_POST['charset'])) {
+if($_POST['charset']=="ISO-8859-1") {
+ $SQLCharset = "latin1"; }
+if($_POST['charset']=="ISO-8859-15") {
+ $SQLCharset = "latin1"; }
+if($_POST['charset']=="UTF-8") {
+ $SQLCharset = "utf8"; }
+ $Settings['charset'] = $_POST['charset']; }
require($SetupDir['setup'].'preinstall.php');
require_once($SettDir['inc'].'filename.php');
require_once($SettDir['inc'].'function.php');
if ($_GET['act']!="Part2"&&$_POST['act']!="Part2") {
if ($_GET['act']!="Part3"&&$_POST['act']!="Part3") {
if ($_GET['act']=="Part4"&&$_POST['act']=="Part4") {
- require($SetupDir['setup'].'/mkconfig.php'); } } } }
+ require($SetupDir['setup'].'mkconfig.php'); } } } }
if ($Error=="Yes") { ?>
<br />Install Failed with errors. <a href="install.php?act=view">Click here</a> to restart install. <_<
<br /><br />