[PropelBundle] fixed generation of propel_autoload.php

This commit is contained in:
Fabien Potencier 2010-05-27 16:36:09 +02:00
parent 448d1a31df
commit 13839f23ce

View File

@ -31,10 +31,8 @@ class Bundle extends BaseBundle
}
}
if ($map) {
file_put_contents($autoload, '<?php return '.var_export($map, true).';');
}
}
$autoloader = \PropelAutoloader::getInstance();
$autoloader->addClassPaths(include($autoload));