Index: trunk/install/php/foltialib.php =================================================================== --- trunk/install/php/foltialib.php (リビジョン 32) +++ trunk/install/php/foltialib.php (リビジョン 46) @@ -457,5 +457,5 @@ if ($freebytes == "" ){ // -print ""; +//print ""; }elseif($freebytes > 1024*1024*100 ){// 100GB以上あいてれば //なにもしない @@ -486,5 +486,5 @@ "; }else{ -print ""; +//print ""; @@ -497,5 +497,27 @@ - +function foldatevalidation($foldate){ + +if (strlen($foldate) == 12 ){ + + $startyear = substr($foldate,0,4); + $startmonth = substr($foldate,4,2); + $startday = substr($foldate,6,2); + $starthour = substr($foldate,8,2); + $startmin = substr($foldate,10,2); + + $startepoch = date ("U",mktime($starthour , $startmin , 0, $startmonth , $startday, $startyear)); + $nowe = time(); + if ($startepoch > $nowe){ + //print "$foldate:$startepoch:$nowe"; + return TRUE; + }else{ + return FALSE; + } //end if $startepoch > $nowe +}else{ + return FALSE; +}//end if ($foldate) == 12 + +}//end function