@@ 1277-1281 (lines=5) @@ | ||
1274 | $appType = ''; |
|
1275 | $classPath = explode('\\', get_called_class()); |
|
1276 | ||
1277 | if (!empty(static::$storage['options']['share'])) { |
|
1278 | $moduleConfig = Config::share($classPath[0]); |
|
1279 | } else { |
|
1280 | $moduleConfig = Config::module($classPath[0], strpos(static::$storage['type'], 'system') !== false); |
|
1281 | } |
|
1282 | ||
1283 | if (!empty($moduleConfig['storage']['appTypeSplit'])) { |
|
1284 | if (empty($options['appType'])) { |
|
@@ 1468-1472 (lines=5) @@ | ||
1465 | $id = $this->pk(); |
|
1466 | $appType = ''; |
|
1467 | $classPath = explode('\\', get_called_class()); |
|
1468 | if (!empty(static::$storage['options']['share'])) { |
|
1469 | $moduleConfig = Config::share($classPath[0]); |
|
1470 | } else { |
|
1471 | $moduleConfig = Config::module($classPath[0], strpos(static::$storage['type'], 'system') !== false); |
|
1472 | } |
|
1473 | ||
1474 | if (!empty($moduleConfig['storage']['appTypeSplit'])) { |
|
1475 | if (empty($options['appType'])) { |