";
$uri = "/lecturer/swc/?nc";
$a = explode('?', $uri); #while development
$uri = $a[0];
echo $uri;
$filename = uri2Vcachefilename($uri,false);
$cache_file = get_abs_Vcache_filepath($filename);
echo "
file_exist:";
print_r(file_exists($cache_file));
echo "
";
if(file_exists($cache_file)){
$html = file_get_contents($cache_file);
print_r($html);
if($html){
$html = str_replace('http://'.$_SERVER['SERVER_NAME'], '//'.$_SERVER['SERVER_NAME'], $html);
die("
end
");
die($html
. ($_SERVER['REMOTE_ADDR']=='118.163.102.67' ? '' : '')
);
}
}
?>