[PropelBundle] fixed generation of propel_autoload.php
This commit is contained in:
parent
448d1a31df
commit
13839f23ce
@ -31,10 +31,8 @@ class Bundle extends BaseBundle
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($map) {
|
|
||||||
file_put_contents($autoload, '<?php return '.var_export($map, true).';');
|
file_put_contents($autoload, '<?php return '.var_export($map, true).';');
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
$autoloader = \PropelAutoloader::getInstance();
|
$autoloader = \PropelAutoloader::getInstance();
|
||||||
$autoloader->addClassPaths(include($autoload));
|
$autoloader->addClassPaths(include($autoload));
|
||||||
|
Reference in New Issue
Block a user