|
@@ 809-813 (lines=5) @@
|
| 806 |
|
} |
| 807 |
|
|
| 808 |
|
// God I hope it saved! |
| 809 |
|
if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\') |
| 810 |
|
{ |
| 811 |
|
$incontext['error'] = $txt['error_windows_chmod']; |
| 812 |
|
return false; |
| 813 |
|
} |
| 814 |
|
|
| 815 |
|
// Make sure it works. |
| 816 |
|
require(dirname(__FILE__) . '/Settings.php'); |
|
@@ 1014-1018 (lines=5) @@
|
| 1011 |
|
); |
| 1012 |
|
|
| 1013 |
|
// Must save! |
| 1014 |
|
if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\') |
| 1015 |
|
{ |
| 1016 |
|
$incontext['error'] = $txt['error_windows_chmod']; |
| 1017 |
|
return false; |
| 1018 |
|
} |
| 1019 |
|
|
| 1020 |
|
// Make sure it works. |
| 1021 |
|
require(dirname(__FILE__) . '/Settings.php'); |