Browse Source

[WebBundle] set the limiter to 4, otherwise it's not possible to use another renderer

Christian Stocker 15 năm trước cách đây
mục cha
commit
8948ae1f6e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Symfony/Framework/WebBundle/Templating/Engine.php

+ 1 - 1
src/Symfony/Framework/WebBundle/Templating/Engine.php

@@ -116,7 +116,7 @@ class Engine extends BaseEngine
   // Bundle:controller:action(:renderer)
   protected function splitTemplateName($name)
   {
-    $parts = explode(':', $name, 3);
+    $parts = explode(':', $name, 4);
 
     $options = array(
       'bundle'     => str_replace('\\', '/', $parts[0]),