parent
4da2c3784d
commit
85aa745256
@ -0,0 +1,10 @@ |
||||
<?php |
||||
|
||||
use Chamilo\Kernel; |
||||
|
||||
require dirname(__DIR__).'/../config/bootstrap.php'; |
||||
|
||||
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']); |
||||
$kernel->boot(); |
||||
|
||||
return $kernel->getContainer()->get('doctrine')->getManager(); |
Loading…
Reference in new issue