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
|
@@ 591-593 (lines=3) @@
|
| 588 |
|
// Doctrine Extend |
| 589 |
|
if (isset($config['orm.path']) && is_array($config['orm.path'])) { |
| 590 |
|
$paths = array(); |
| 591 |
|
foreach ($config['orm.path'] as $path) { |
| 592 |
|
$paths[] = $this['config']['plugin_realdir'].'/'.$config['code'].$path; |
| 593 |
|
} |
| 594 |
|
$ormMappings[] = array( |
| 595 |
|
'type' => 'yml', |
| 596 |
|
'namespace' => 'Plugin\\'.$config['code'].'\\Entity', |