2024-10-10
This commit is contained in:
13
web/include/cache_end.php
Normal file
13
web/include/cache_end.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
//cache foot start
|
||||
if(isset($file)){
|
||||
if($OJ_MEMCACHE){
|
||||
$mem->set($file,ob_get_contents(),0,$cache_time);
|
||||
}else{
|
||||
// if(!file_exists("cache")) mkdir("cache");
|
||||
// file_put_contents($file,ob_get_contents());
|
||||
}
|
||||
}
|
||||
//cache foot stop
|
||||
?>
|
||||
<!--not cached-->
|
||||
Reference in New Issue
Block a user