| @@ 1237-1241 (lines=5) @@ | ||
| 1234 | } else { |
|
| 1235 | $moduleConfig['storage'] = $storage; |
|
| 1236 | } |
|
| 1237 | if (empty(static::$storage['options']['share'])) { |
|
| 1238 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1239 | } else { |
|
| 1240 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1241 | } |
|
| 1242 | return true; |
|
| 1243 | } |
|
| 1244 | ||
| @@ 1434-1438 (lines=5) @@ | ||
| 1431 | } else { |
|
| 1432 | $moduleConfig['storage'] = $storage; |
|
| 1433 | } |
|
| 1434 | if (empty(static::$storage['options']['share'])) { |
|
| 1435 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1436 | } else { |
|
| 1437 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1438 | } |
|
| 1439 | return true; |
|
| 1440 | } |
|
| 1441 | ||