From olio-commits-return-9-apmail-incubator-olio-commits-archive=incubator.apache.org@incubator.apache.org Tue Oct 21 02:12:01 2008 Return-Path: Delivered-To: apmail-incubator-olio-commits-archive@locus.apache.org Received: (qmail 63731 invoked from network); 21 Oct 2008 02:12:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Oct 2008 02:12:01 -0000 Received: (qmail 85736 invoked by uid 500); 21 Oct 2008 02:12:03 -0000 Delivered-To: apmail-incubator-olio-commits-archive@incubator.apache.org Received: (qmail 85724 invoked by uid 500); 21 Oct 2008 02:12:03 -0000 Mailing-List: contact olio-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: olio-dev@incubator.apache.org Delivered-To: mailing list olio-commits@incubator.apache.org Delivered-To: moderator for olio-commits@incubator.apache.org Received: (qmail 76224 invoked by uid 99); 20 Oct 2008 20:12:01 -0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r706397 - /incubator/olio/webapp/php/trunk/public_html/fileService.php Date: Mon, 20 Oct 2008 20:11:09 -0000 To: olio-commits@incubator.apache.org From: sheetal@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081020201109.28105238889D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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;