| @@ 1181-1185 (lines=5) @@ | ||
| 1178 | } else { |
|
| 1179 | $moduleConfig['storage'] = $storage; |
|
| 1180 | } |
|
| 1181 | if (empty(static::$storage['options']['share'])) { |
|
| 1182 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1183 | } else { |
|
| 1184 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1185 | } |
|
| 1186 | return true; |
|
| 1187 | } |
|
| 1188 | ||
| @@ 1378-1382 (lines=5) @@ | ||
| 1375 | } else { |
|
| 1376 | $moduleConfig['storage'] = $storage; |
|
| 1377 | } |
|
| 1378 | if (empty(static::$storage['options']['share'])) { |
|
| 1379 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1380 | } else { |
|
| 1381 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1382 | } |
|
| 1383 | return true; |
|
| 1384 | } |
|
| 1385 | ||