src/Eccube/Controller/Install/InstallController.php 1 location
|
@@ 475-477 (lines=3) @@
|
| 472 |
|
// Doctrine Extend |
| 473 |
|
if (isset($config['orm.path']) && is_array($config['orm.path'])) { |
| 474 |
|
$paths = array(); |
| 475 |
|
foreach ($config['orm.path'] as $path) { |
| 476 |
|
$paths[] = __DIR__.'/../../../../app/Plugin/'.$config['code'].$path; |
| 477 |
|
} |
| 478 |
|
$ormMappings[] = array( |
| 479 |
|
'type' => 'annotation', |
| 480 |
|
'namespace' => 'Plugin\\'.$config['code'].'\\Entity', |
src/Eccube/Application.php 1 location
|
@@ 606-608 (lines=3) @@
|
| 603 |
|
// Doctrine Extend |
| 604 |
|
if (isset($config['orm.path']) && is_array($config['orm.path'])) { |
| 605 |
|
$paths = array(); |
| 606 |
|
foreach ($config['orm.path'] as $path) { |
| 607 |
|
$paths[] = $this['config']['plugin_realdir'].'/'.$config['code'].$path; |
| 608 |
|
} |
| 609 |
|
$ormMappings[] = array( |
| 610 |
|
'type' => 'yml', |
| 611 |
|
'namespace' => 'Plugin\\'.$config['code'].'\\Entity', |