Copyright 2004-2010 iDB Support - http://idb.berlios.de/
Copyright 2004-2010 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: function.php - Last Update: 09/23/2010 SVN 559 - Author: cooldude2k $
+ $FileInfo: function.php - Last Update: 09/23/2010 SVN 560 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="function.php"||$File3Name=="/function.php") {
function output_error($message, $level=E_USER_ERROR) {
$caller = next(debug_backtrace());
trigger_error($message.' in <strong>'.$caller['function'].'</strong> called from <strong>'.$caller['file'].'</strong> on line <strong>'.$caller['line'].'</strong>'."\n<br />error handler", $level); }
-// PHP iUnTAR Version 2.9
+// PHP iUnTAR Version 3.0
function untar($tarfile,$outdir="./",$chmod=null) {
$TarSize = filesize($tarfile);
$TarSizeEnd = $TarSize - 1024;
fseek($thandle,255,SEEK_CUR);
if($FileType=="0") {
$FileContent = fread($thandle,$FileSize); }
+ if($FileType=="1") {
+ $FileContent = null; }
+ if($FileType=="2") {
+ $FileContent = null; }
if($FileType=="5") {
$FileContent = null; }
if($FileType=="0") {
fwrite($subhandle,$FileContent,$FileSize);
fclose($subhandle);
chmod($FileName,$FileCHMOD); }
+ if($FileType=="1") {
+ link($FileName,$LinkedFile); }
+ if($FileType=="2") {
+ symlink($LinkedFile,$FileName); }
if($FileType=="5") {
mkdir($FileName,$FileCHMOD); }
//touch($FileName,$LastEdit);
Copyright 2004-2010 iDB Support - http://idb.berlios.de/
Copyright 2004-2010 Game Maker 2k - http://gamemaker2k.org/
- $FileInfo: versioninfo.php - Last Update: 09/23/2010 SVN 559 - Author: cooldude2k $
+ $FileInfo: versioninfo.php - Last Update: 09/23/2010 SVN 560 - Author: cooldude2k $
*/
$File3Name = basename($_SERVER['SCRIPT_NAME']);
if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {
return $return_var; }
// Version number and date stuff. :P
$VER1[0] = 0; $VER1[1] = 4; $VER1[2] = 1; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 559; $RName = "iDB"; $SFName = "IntDB";
+$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 560; $RName = "iDB"; $SFName = "IntDB";
$SVNDay[0] = 09; $SVNDay[1] = 23; $SVNDay[2] = 2010; $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);