|
@@ 247-248 (lines=2) @@
|
| 244 |
|
$is_debug = $upcontext['upgrade_status']['debug']; |
| 245 |
|
|
| 246 |
|
// Load the language. |
| 247 |
|
if (file_exists($modSettings['theme_dir'] . '/languages/Install.' . $upcontext['language'] . '.php')) |
| 248 |
|
require_once($modSettings['theme_dir'] . '/languages/Install.' . $upcontext['language'] . '.php'); |
| 249 |
|
} |
| 250 |
|
// Set the defaults. |
| 251 |
|
else |
|
@@ 1191-1192 (lines=2) @@
|
| 1188 |
|
updateSettings(array('force_ssl' => '1')); |
| 1189 |
|
|
| 1190 |
|
// If we're overriding the language follow it through. |
| 1191 |
|
if (isset($_GET['lang']) && file_exists($modSettings['theme_dir'] . '/languages/index.' . $_GET['lang'] . '.php')) |
| 1192 |
|
$changes['language'] = '\'' . $_GET['lang'] . '\''; |
| 1193 |
|
|
| 1194 |
|
if (!empty($_POST['maint'])) |
| 1195 |
|
{ |