瀏覽代碼

[PropelBundle] added automatic bootstrapping of Propel in the boot

Fabien Potencier 15 年之前
父節點
當前提交
c1e0c3edba
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/Symfony/Framework/PropelBundle/Bundle.php

+ 2 - 0
src/Symfony/Framework/PropelBundle/Bundle.php

@@ -43,5 +43,7 @@ class Bundle extends BaseBundle
         $autoloader = \PropelAutoloader::getInstance();
         $autoloader->addClassPaths(include($autoload));
         $autoloader->register();
+
+        $container->getPropelService();
     }
 }