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
|
@@ 641-643 (lines=3) @@
|
| 638 |
|
// Doctrine Extend |
| 639 |
|
if (isset($config['orm.path']) && is_array($config['orm.path'])) { |
| 640 |
|
$paths = array(); |
| 641 |
|
foreach ($config['orm.path'] as $path) { |
| 642 |
|
$paths[] = $this['config']['plugin_realdir'].'/'.$config['code'].$path; |
| 643 |
|
} |
| 644 |
|
$ormMappings[] = array( |
| 645 |
|
'type' => 'yml', |
| 646 |
|
'namespace' => 'Plugin\\'.$config['code'].'\\Entity', |