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
|
@@ 614-616 (lines=3) @@
|
| 611 |
|
// Doctrine Extend |
| 612 |
|
if (isset($config['orm.path']) && is_array($config['orm.path'])) { |
| 613 |
|
$paths = array(); |
| 614 |
|
foreach ($config['orm.path'] as $path) { |
| 615 |
|
$paths[] = $this['config']['plugin_realdir'].'/'.$config['code'].$path; |
| 616 |
|
} |
| 617 |
|
$ormMappings[] = array( |
| 618 |
|
'type' => 'yml', |
| 619 |
|
'namespace' => 'Plugin\\'.$config['code'].'\\Entity', |