| @@ 1471-1475 (lines=5) @@ | ||
| 1468 | } else { |
|
| 1469 | $moduleConfig['storage'] = $storage; |
|
| 1470 | } |
|
| 1471 | if (empty(static::$storage['options']['share'])) { |
|
| 1472 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1473 | } else { |
|
| 1474 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1475 | } |
|
| 1476 | return true; |
|
| 1477 | } |
|
| 1478 | ||
| @@ 1672-1676 (lines=5) @@ | ||
| 1669 | } else { |
|
| 1670 | $moduleConfig['storage'] = $storage; |
|
| 1671 | } |
|
| 1672 | if (empty(static::$storage['options']['share'])) { |
|
| 1673 | Config::save('module', $moduleConfig, $classPath[0]); |
|
| 1674 | } else { |
|
| 1675 | Config::save('share', $moduleConfig, $classPath[0]); |
|
| 1676 | } |
|
| 1677 | return true; |
|
| 1678 | } |
|
| 1679 | ||