| @@ 1285-1289 (lines=5) @@ | ||
| 1282 | } else { |
|
| 1283 | $moduleConfig['storage'] = $storage; |
|
| 1284 | } |
|
| 1285 | if (empty(static::$storage['options']['share'])) { |
|
| 1286 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1287 | } else { |
|
| 1288 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1289 | } |
|
| 1290 | return true; |
|
| 1291 | } |
|
| 1292 | ||
| @@ 1482-1486 (lines=5) @@ | ||
| 1479 | } else { |
|
| 1480 | $moduleConfig['storage'] = $storage; |
|
| 1481 | } |
|
| 1482 | if (empty(static::$storage['options']['share'])) { |
|
| 1483 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1484 | } else { |
|
| 1485 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1486 | } |
|
| 1487 | return true; |
|
| 1488 | } |
|
| 1489 | ||