Commit def50023 authored by Avris's avatar Avris

App - Require rootDir and request

parent b5cb7a7f
......@@ -16,7 +16,7 @@ foreach (['', '/..', '/../..', '/../../..'] as $dir) {
}
/** @var EntityManager $em */
$em = (new App('cli'))->getContainer()->get('orm')->getEntityManager();
$em = (new App('cli', dirname(dirname($autoloader))))->getContainer()->get('orm')->getEntityManager();
$app = new Application('Doctrine');
$helperSet = $app->getHelperSet();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment