Author: Jonathan.Wage
Date: 2010-01-20 07:49:15 +0100 (Wed, 20 Jan 2010)
New Revision: 26914
Modified:
plugins/sfSympalPlugin/trunk/lib/cache/sfSympalCache.class.php
Log:
[1.4][sfSympalPlugin][1.0] Fixing php error
Modified: plugins/sfSympalPlugin/trunk/lib/cache/sfSympalCache.class.php
===================================================================
--- plugins/sfSympalPlugin/trunk/lib/cache/sfSympalCache.class.php
2010-01-20 06:37:51 UTC (rev 26913)
+++ plugins/sfSympalPlugin/trunk/lib/cache/sfSympalCache.class.php
2010-01-20 06:49:15 UTC (rev 26914)
@@ -53,7 +53,11 @@
public function resetRouteCache()
{
$cachePath =
sfConfig::get('sf_cache_dir').'/'.sfConfig::get('sf_app').'/'.sfConfig::get('sf_environment').'/routes.cache.yml';
- unlink($cachePath);
+ if (file_exists($cachePath))
+ {
+ unlink($cachePath);
+ }
+
$context = sfContext::getInstance();
$configCache = $context->getConfigCache();
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.