update hero_full.php: finish roman units

This commit is contained in:
yi12345
2013-06-09 18:02:07 +03:00
parent e34f675c81
commit a1e62b598e
14 changed files with 176 additions and 189 deletions
+1 -23
View File
@@ -43,25 +43,9 @@ else
{
die('Security: Please activate security class!');
}
$cachefile = 'cache/'.basename($_SERVER['PHP_SELF']).'.cache'; // e.g. cache/index.php.cache
$cachetime = 3600; // time to cache in seconds
if(file_exists($cachefile) && time()-$cachetime <= filemtime($cachefile)){
$c = @file_get_contents($cf);
echo $c;
exit;
}else{
unlink($cachefile);
}
ob_start();
include ("GameEngine/Database.php");
include ("GameEngine/Lang/".LANG.".php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
@@ -288,10 +272,4 @@ include ("GameEngine/Lang/".LANG.".php");
var galarie = new Fx.Screenshots('screen_view', 'screen_hl', 'screen_desc', screenshots);
</script>
</body>
</html>
<?php
$c = ob_get_contents();
file_put_contents($cachefile);
?>
</html>