|
@@ 821-825 (lines=5) @@
|
| 818 |
|
} |
| 819 |
|
|
| 820 |
|
// God I hope it saved! |
| 821 |
|
if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\') |
| 822 |
|
{ |
| 823 |
|
$incontext['error'] = $txt['error_windows_chmod']; |
| 824 |
|
return false; |
| 825 |
|
} |
| 826 |
|
|
| 827 |
|
// Make sure it works. |
| 828 |
|
require(dirname(__FILE__) . '/Settings.php'); |
|
@@ 1017-1021 (lines=5) @@
|
| 1014 |
|
); |
| 1015 |
|
|
| 1016 |
|
// Must save! |
| 1017 |
|
if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\') |
| 1018 |
|
{ |
| 1019 |
|
$incontext['error'] = $txt['error_windows_chmod']; |
| 1020 |
|
return false; |
| 1021 |
|
} |
| 1022 |
|
|
| 1023 |
|
// Make sure it works. |
| 1024 |
|
require(dirname(__FILE__) . '/Settings.php'); |