incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shee...@apache.org
Subject svn commit: r706397 - /incubator/olio/webapp/php/trunk/public_html/fileService.php
Date Mon, 20 Oct 2008 20:11:09 GMT
Author: sheetal
Date: Mon Oct 20 13:11:08 2008
New Revision: 706397

URL: http://svn.apache.org/viewvc?rev=706397&view=rev
Log:
updating fileService.php under php webapp

Modified:
    incubator/olio/webapp/php/trunk/public_html/fileService.php

Modified: incubator/olio/webapp/php/trunk/public_html/fileService.php
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/php/trunk/public_html/fileService.php?rev=706397&r1=706396&r2=706397&view=diff
==============================================================================
--- incubator/olio/webapp/php/trunk/public_html/fileService.php (original)
+++ incubator/olio/webapp/php/trunk/public_html/fileService.php Mon Oct 20 13:11:08 2008
@@ -30,7 +30,7 @@
  * the client.
  */
 require_once("../etc/config.php");
-$cache = CacheSystem::getInstance();
+//$cache = CacheSystem::getInstance();
 
 
 $mimeTypes = array();
@@ -50,7 +50,7 @@
 $fileName = $_GET['file'];
 
 if ($fileName != "") {
-	$cacheFlag = $_GET['cache'];
+	//$cacheFlag = $_GET['cache'];
 	$pathInfo = pathinfo($fileName);
 	$extension = $pathInfo['extension'];
 	$contentType = $mimeTypes[$extension];
@@ -58,7 +58,7 @@
 
 	$fs = FileSystem::getInstance();
 	$paths = $fs->getPaths($fileName);
-	$cache->set($fileName, $paths, 0, Web20::$config['cacheExpire']);
+	//$cache->set($fileName, $paths, 0, Web20::$config['cacheExpire']);
 	$path_keys = array_keys($paths);
 	$pathkeycount = count($path_keys);
 	$i=0;



Mime
View raw message