| @@ 1199-1203 (lines=5) @@ | ||
| 1196 | } else { |
|
| 1197 | $moduleConfig['storage'] = $storage; |
|
| 1198 | } |
|
| 1199 | if (empty(static::$storage['options']['share'])) { |
|
| 1200 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1201 | } else { |
|
| 1202 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1203 | } |
|
| 1204 | return true; |
|
| 1205 | } |
|
| 1206 | ||
| @@ 1396-1400 (lines=5) @@ | ||
| 1393 | } else { |
|
| 1394 | $moduleConfig['storage'] = $storage; |
|
| 1395 | } |
|
| 1396 | if (empty(static::$storage['options']['share'])) { |
|
| 1397 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1398 | } else { |
|
| 1399 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1400 | } |
|
| 1401 | return true; |
|
| 1402 | } |
|
| 1403 | ||