adcity
This commit is contained in:
@@ -12,6 +12,11 @@ require_once "config.php";
|
||||
$paths = [__DIR__ . "/src/Entity"];
|
||||
$isDevMode = true;
|
||||
|
||||
// Composer Autoloader für src/Cron und src/Repository
|
||||
$loader = require __DIR__ . '/vendor/autoload.php';
|
||||
$loader->addPsr4('Cron\\', __DIR__ . '/src/Cron');
|
||||
$loader->addPsr4('Repository\\', __DIR__ . '/src/Repository');
|
||||
|
||||
// Doctrine ORM Konfiguration
|
||||
$config = ORMSetup::createAttributeMetadataConfiguration($paths, $isDevMode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user