Author: Kris.Wallsmith
Date: 2010-04-06 19:53:15 +0200 (Tue, 06 Apr 2010)
New Revision: 29000

Modified:
   branches/1.3/lib/controller/sfController.class.php
   branches/1.4/lib/controller/sfController.class.php
Log:
[1.3, 1.4] fixed sfController::actionExists does not work if module is 
generated with admin-generator (closes #8427)

Modified: branches/1.3/lib/controller/sfController.class.php
===================================================================
--- branches/1.3/lib/controller/sfController.class.php  2010-04-06 17:42:14 UTC 
(rev 28999)
+++ branches/1.3/lib/controller/sfController.class.php  2010-04-06 17:53:15 UTC 
(rev 29000)
@@ -99,6 +99,9 @@
         throw new sfConfigurationException(sprintf('The module "%s" is not 
enabled.', $moduleName));
       }
 
+      // check for a module generator config file
+      
$this->context->getConfigCache()->import('modules/'.$moduleName.'/config/generator.yml',
 false, true);
+
       // one action per file or one file for all actions
       $classFile   = strtolower($extension);
       $classSuffix = ucfirst(strtolower($extension));

Modified: branches/1.4/lib/controller/sfController.class.php
===================================================================
--- branches/1.4/lib/controller/sfController.class.php  2010-04-06 17:42:14 UTC 
(rev 28999)
+++ branches/1.4/lib/controller/sfController.class.php  2010-04-06 17:53:15 UTC 
(rev 29000)
@@ -99,6 +99,9 @@
         throw new sfConfigurationException(sprintf('The module "%s" is not 
enabled.', $moduleName));
       }
 
+      // check for a module generator config file
+      
$this->context->getConfigCache()->import('modules/'.$moduleName.'/config/generator.yml',
 false, true);
+
       // one action per file or one file for all actions
       $classFile   = strtolower($extension);
       $classSuffix = ucfirst(strtolower($extension));

-- 
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.

Reply via email to