From 38843210bf2a9898df0b44e00f1d78de80c99250 Mon Sep 17 00:00:00 2001 From: Kazuki Przyborowski Date: Wed, 2 Dec 2009 09:04:25 +0000 Subject: [PATCH] Forgot to add a semicolon in function chack_themes. git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@370 2b68903e-0b30-0410-9a39-a2e4f3c5be39 --- inc/misc/functions.php | 4 ++-- inc/versioninfo.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/misc/functions.php b/inc/misc/functions.php index 8e3161b..2fe5651 100644 --- a/inc/misc/functions.php +++ b/inc/misc/functions.php @@ -11,7 +11,7 @@ Copyright 2004-2009 iDB Support - http://idb.berlios.de/ Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/ - $FileInfo: functions.php - Last Update: 12/02/2009 SVN 369 - Author: cooldude2k $ + $FileInfo: functions.php - Last Update: 12/02/2009 SVN 370 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="functions.php"||$File3Name=="/functions.php") { @@ -117,7 +117,7 @@ function chack_themes($theme) { global $BoardTheme; if(!isset($theme)) { $theme = null; } if(preg_match("/([a-zA-Z].+)\:/isU",$theme)) { - $theme = $BoardTheme } + $theme = $BoardTheme; } require('settings.php'); $ckskindir = dirname(realpath("settings.php"))."/".$SettDir['themes']; if ($handle = opendir($ckskindir)) { $dirnum = null; diff --git a/inc/versioninfo.php b/inc/versioninfo.php index 1e6b95d..75fc934 100644 --- a/inc/versioninfo.php +++ b/inc/versioninfo.php @@ -11,7 +11,7 @@ Copyright 2004-2009 iDB Support - http://idb.berlios.de/ Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/ - $FileInfo: versioninfo.php - Last Update: 12/02/2009 SVN 369 - Author: cooldude2k $ + $FileInfo: versioninfo.php - Last Update: 12/02/2009 SVN 370 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") { @@ -27,7 +27,7 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) { return $return_var; } // Version number and date stuff. :P $VER1[0] = 0; $VER1[1] = 3; $VER1[2] = 2; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2]; -$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 369; $RName = "iDB"; $SFName = "IntDB"; +$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 370; $RName = "iDB"; $SFName = "IntDB"; $SVNDay[0] = 12; $SVNDay[1] = 02; $SVNDay[2] = 2009; $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); -- 2.11.0