Author: pmacadden
Date: 2010-02-17 14:53:16 +0100 (Wed, 17 Feb 2010)
New Revision: 28076
Modified:
plugins/pmModuleEnablerPlugin/trunk/lib/model/pmConfiguration.php
plugins/pmModuleEnablerPlugin/trunk/lib/pmModuleEnablerFilter.class.php
Log:
fixed 404 on logout
Modified: plugins/pmModuleEnablerPlugin/trunk/lib/model/pmConfiguration.php
===================================================================
--- plugins/pmModuleEnablerPlugin/trunk/lib/model/pmConfiguration.php
2010-02-17 12:00:06 UTC (rev 28075)
+++ plugins/pmModuleEnablerPlugin/trunk/lib/model/pmConfiguration.php
2010-02-17 13:53:16 UTC (rev 28076)
@@ -54,7 +54,7 @@
}
else
{
- if (!in_array($module_name, sfConfig::get('sf_enabled_modules')) ||
in_array($module_name, $always_enabled) || $module_name == "default")
+ if (!in_array($module_name, sfConfig::get('sf_enabled_modules')) ||
in_array($module_name, $always_enabled))
{
$ret = true;
}
Modified:
plugins/pmModuleEnablerPlugin/trunk/lib/pmModuleEnablerFilter.class.php
===================================================================
--- plugins/pmModuleEnablerPlugin/trunk/lib/pmModuleEnablerFilter.class.php
2010-02-17 12:00:06 UTC (rev 28075)
+++ plugins/pmModuleEnablerPlugin/trunk/lib/pmModuleEnablerFilter.class.php
2010-02-17 13:53:16 UTC (rev 28076)
@@ -5,7 +5,7 @@
public function execute($filterChain)
{
if (
- (sfConfig::get('sf_login_module') == $this->context->getModuleName()) &&
(sfConfig::get('sf_login_action') == $this->context->getActionName())
+ (sfConfig::get('sf_login_module') == $this->context->getModuleName())
||
(sfConfig::get('sf_secure_module') == $this->context->getModuleName())
&& (sfConfig::get('sf_secure_action') == $this->context->getActionName())
)
--
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.