|
@@ 494-498 (lines=5) @@
|
| 491 |
|
|
| 492 |
|
Symphony::Configuration()->setArray($conf); |
| 493 |
|
|
| 494 |
|
if (!Symphony::Configuration()->write(CONFIG, $conf['file']['write_mode'])) { |
| 495 |
|
self::__abort( |
| 496 |
|
'Could not create config file ‘' . CONFIG . '’. Check permission on /manifest.', |
| 497 |
|
$start); |
| 498 |
|
} |
| 499 |
|
|
| 500 |
|
// Writing htaccess file |
| 501 |
|
Symphony::Log()->info('CONFIGURING: Frontend', E_NOTICE); |
|
@@ 610-612 (lines=3) @@
|
| 607 |
|
// Is the language extension enabled? |
| 608 |
|
if (in_array('lang_' . $language['handle'], ExtensionManager::listInstalledHandles())) { |
| 609 |
|
Symphony::Configuration()->set('lang', $_REQUEST['lang'], 'symphony'); |
| 610 |
|
if (!Symphony::Configuration()->write(CONFIG, $conf['file']['write_mode'])) { |
| 611 |
|
Symphony::Log()->warning('Could not write default language ‘' . $language['name'] . '’ to config file.'); |
| 612 |
|
} |
| 613 |
|
} else { |
| 614 |
|
Symphony::Log()->warning('Could not enable the desired language ‘' . $language['name'] . '’.'); |
| 615 |
|
} |