| @@ 1418-1422 (lines=5) @@ | ||
| 1415 | } else { |
|
| 1416 | $moduleConfig['storage'] = $storage; |
|
| 1417 | } |
|
| 1418 | if (empty(static::$storage['options']['share'])) { |
|
| 1419 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1420 | } else { |
|
| 1421 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1422 | } |
|
| 1423 | return true; |
|
| 1424 | } |
|
| 1425 | ||
| @@ 1615-1619 (lines=5) @@ | ||
| 1612 | } else { |
|
| 1613 | $moduleConfig['storage'] = $storage; |
|
| 1614 | } |
|
| 1615 | if (empty(static::$storage['options']['share'])) { |
|
| 1616 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1617 | } else { |
|
| 1618 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1619 | } |
|
| 1620 | return true; |
|
| 1621 | } |
|
| 1622 | ||