src/Eccube/Controller/Install/InstallController.php 1 location
|
@@ 395-397 (lines=3) @@
|
| 392 |
|
// Doctrine Extend |
| 393 |
|
if (isset($config['orm.path']) && is_array($config['orm.path'])) { |
| 394 |
|
$paths = array(); |
| 395 |
|
foreach ($config['orm.path'] as $path) { |
| 396 |
|
$paths[] = __DIR__.'/../../../../app/Plugin/'.$config['code'].$path; |
| 397 |
|
} |
| 398 |
|
$ormMappings[] = array( |
| 399 |
|
'type' => 'annotation', |
| 400 |
|
'namespace' => 'Plugin\\'.$config['code'].'\\Entity', |
src/Eccube/Application.php 1 location
|
@@ 630-632 (lines=3) @@
|
| 627 |
|
// Doctrine Extend |
| 628 |
|
if (isset($config['orm.path']) && is_array($config['orm.path'])) { |
| 629 |
|
$paths = array(); |
| 630 |
|
foreach ($config['orm.path'] as $path) { |
| 631 |
|
$paths[] = $this['config']['plugin_realdir'].'/'.$config['code'].$path; |
| 632 |
|
} |
| 633 |
|
$ormMappings[] = array( |
| 634 |
|
'type' => 'yml', |
| 635 |
|
'namespace' => 'Plugin\\'.$config['code'].'\\Entity', |