| @@ 1209-1213 (lines=5) @@ | ||
| 1206 | } else { |
|
| 1207 | $moduleConfig['storage'] = $storage; |
|
| 1208 | } |
|
| 1209 | if (empty(static::$storage['options']['share'])) { |
|
| 1210 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1211 | } else { |
|
| 1212 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1213 | } |
|
| 1214 | return true; |
|
| 1215 | } |
|
| 1216 | ||
| @@ 1406-1410 (lines=5) @@ | ||
| 1403 | } else { |
|
| 1404 | $moduleConfig['storage'] = $storage; |
|
| 1405 | } |
|
| 1406 | if (empty(static::$storage['options']['share'])) { |
|
| 1407 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1408 | } else { |
|
| 1409 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1410 | } |
|
| 1411 | return true; |
|
| 1412 | } |
|
| 1413 | ||