From b7345f833dea849e94f2ce23fdbe6ab58ba98be3 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 3 Oct 2009 14:08:25 +0000 Subject: more file renamings git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@387 b3834d28-1941-0410-a4f8-b48e95affb8f --- src/SemanticScuttle/Service/cacheservice.php | 38 ---------------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/SemanticScuttle/Service/cacheservice.php (limited to 'src/SemanticScuttle/Service/cacheservice.php') diff --git a/src/SemanticScuttle/Service/cacheservice.php b/src/SemanticScuttle/Service/cacheservice.php deleted file mode 100644 index fe66d38..0000000 --- a/src/SemanticScuttle/Service/cacheservice.php +++ /dev/null @@ -1,38 +0,0 @@ -basedir = $GLOBALS['dir_cache']; - } - - function Start($hash, $time = 300) { - $cachefile = $this->basedir .'/'. $hash . $this->fileextension; - if (file_exists($cachefile) && time() < filemtime($cachefile) + $time) { - @readfile($cachefile); - echo "\n\n"; - unset($cachefile); - exit; - } - ob_start("ob_gzhandler"); - } - - function End($hash) { - $cachefile = $this->basedir .'/'. $hash . $this->fileextension; - $handle = fopen($cachefile, 'w'); - fwrite($handle, ob_get_contents()); - fclose($handle); - ob_flush(); - } -} -?> \ No newline at end of file -- cgit v1.2.3-54-g00ecf