|
@@ 501-505 (lines=5) @@
|
| 498 |
|
|
| 499 |
|
Symphony::Configuration()->setArray($conf); |
| 500 |
|
|
| 501 |
|
if (!Symphony::Configuration()->write(CONFIG, $conf['file']['write_mode'])) { |
| 502 |
|
self::__abort( |
| 503 |
|
'Could not create config file ‘' . CONFIG . '’. Check permission on /manifest.', |
| 504 |
|
$start); |
| 505 |
|
} |
| 506 |
|
|
| 507 |
|
// Writing htaccess file |
| 508 |
|
Symphony::Log()->info('CONFIGURING: Frontend', E_NOTICE); |
|
@@ 617-619 (lines=3) @@
|
| 614 |
|
// Is the language extension enabled? |
| 615 |
|
if (in_array('lang_' . $language['handle'], ExtensionManager::listInstalledHandles())) { |
| 616 |
|
Symphony::Configuration()->set('lang', $_REQUEST['lang'], 'symphony'); |
| 617 |
|
if (!Symphony::Configuration()->write(CONFIG, $conf['file']['write_mode'])) { |
| 618 |
|
Symphony::Log()->warning('Could not write default language ‘' . $language['name'] . '’ to config file.'); |
| 619 |
|
} |
| 620 |
|
} else { |
| 621 |
|
Symphony::Log()->warning('Could not enable the desired language ‘' . $language['name'] . '’.'); |
| 622 |
|
} |