src/Eccube/Controller/Install/InstallController.php 1 location
|
@@ 472-474 (lines=3) @@
|
| 469 |
|
// Doctrine Extend |
| 470 |
|
if (isset($config['orm.path']) && is_array($config['orm.path'])) { |
| 471 |
|
$paths = array(); |
| 472 |
|
foreach ($config['orm.path'] as $path) { |
| 473 |
|
$paths[] = __DIR__.'/../../../../app/Plugin/'.$config['code'].$path; |
| 474 |
|
} |
| 475 |
|
$ormMappings[] = array( |
| 476 |
|
'type' => 'annotation', |
| 477 |
|
'namespace' => 'Plugin\\'.$config['code'].'\\Entity', |
src/Eccube/Application.php 1 location
|
@@ 580-582 (lines=3) @@
|
| 577 |
|
// Doctrine Extend |
| 578 |
|
if (isset($config['orm.path']) && is_array($config['orm.path'])) { |
| 579 |
|
$paths = array(); |
| 580 |
|
foreach ($config['orm.path'] as $path) { |
| 581 |
|
$paths[] = $this['config']['plugin_realdir'].'/'.$config['code'].$path; |
| 582 |
|
} |
| 583 |
|
$ormMappings[] = array( |
| 584 |
|
'type' => 'yml', |
| 585 |
|
'namespace' => 'Plugin\\'.$config['code'].'\\Entity', |