OSDN Git Service

Fix small bug. (Install was not working)
authorKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Fri, 15 Jun 2007 10:14:14 +0000 (10:14 +0000)
committerKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Fri, 15 Jun 2007 10:14:14 +0000 (10:14 +0000)
git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@25 2b68903e-0b30-0410-9a39-a2e4f3c5be39

inc/filename.php
mysql.php

index b318567..430afda 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: filename.php - Last Update: 06/15/2007 SVN 24 - Author: cooldude2k $
+    $FileInfo: filename.php - Last Update: 06/15/2007 SVN 25 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="filename.php"||$File3Name=="/filename.php") {
@@ -44,7 +44,7 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) {
        if($showsvn!=true&&$showsvn!=null) { $return_var .= " ".$showsvn." ".$svnver; }
        return $return_var; }
 $VER1[0] = 0; $VER1[1] = 1; $VER1[2] = 5; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 24; $RName = "iDB"; $SFName = "IntDB";
+$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 25; $RName = "iDB"; $SFName = "IntDB";
 $SVNDay[0] = 06; $SVNDay[1] = 15; $SVNDay[2] = 2007; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
 $VerInfo['iDB_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,false);
 $VerInfo['iDB_Ver_SVN'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,true);
index 4fed397..8ae8b2f 100644 (file)
--- a/mysql.php
+++ b/mysql.php
@@ -11,7 +11,7 @@
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: mysql.php - Last Update: 06/15/2007 SVN 24 - Author: cooldude2k $
+    $FileInfo: mysql.php - Last Update: 06/15/2007 SVN 25 - Author: cooldude2k $
 */
 @error_reporting(E_ALL ^ E_NOTICE);
 @ini_set('session.use_trans_sid', false);
@@ -38,7 +38,12 @@ if(!isset($_GET['page'])) { $_GET['page'] = null; }
 if(!isset($_GET['act'])) { $_GET['act'] = null; }
 if(!isset($_POST['act'])) { $_POST['act'] = null; }
 if(!isset($_GET['id'])) { $_GET['id'] = null; }
+$_TEG = array(null);
+$_TEG['part'] = preg_replace("/Part(1|2|3|4)/","\\1",$_GET['act']);
 $_GET['act'] = strtolower($_GET['act']);
+if(isset($_TEG['part'])) {
+if($_TEG['part']<=4&&$_TEG['part']>=1) {
+$_GET['act'] = "Part".$_TEG['part']; } }
 require_once($SettDir['inc'].'filename.php');
 require_once($SettDir['inc'].'function.php');
 if($Settings['enable_pathinfo']==true) {