Author: Jonathan.Wage
Date: 2010-01-31 15:52:46 +0100 (Sun, 31 Jan 2010)
New Revision: 27349
Modified:
plugins/sfSympalPlugin/trunk/lib/cache/sfSympalCache.class.php
Log:
[1.4][sfSympalPlugin][1.0] Fixing modules cache to include application
Modified: plugins/sfSympalPlugin/trunk/lib/cache/sfSympalCache.class.php
===================================================================
--- plugins/sfSympalPlugin/trunk/lib/cache/sfSympalCache.class.php
2010-01-31 12:17:28 UTC (rev 27348)
+++ plugins/sfSympalPlugin/trunk/lib/cache/sfSympalCache.class.php
2010-01-31 14:52:46 UTC (rev 27349)
@@ -161,10 +161,11 @@
protected function _writeModulesCache()
{
$modules = array();
- $plugins = $this->_sympalConfiguration->getPluginPaths();
- $plugins['sfDoctrineGuardPlugin'] =
$this->_projectConfiguration->getPluginConfiguration('sfDoctrineGuardPlugin')->getRootDir();
+ $paths = $this->_sympalConfiguration->getPluginPaths();
+ $paths['sfDoctrineGuardPlugin'] =
$this->_projectConfiguration->getPluginConfiguration('sfDoctrineGuardPlugin')->getRootDir();
+ $paths['application'] = sfConfig::get('sf_app_dir');
- foreach ($plugins as $plugin => $path)
+ foreach ($paths as $path)
{
$path = $path . '/modules';
$find = glob($path . '/*');
--
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.