|
@@ 807-811 (lines=5) @@
|
| 804 |
|
} |
| 805 |
|
|
| 806 |
|
// God I hope it saved! |
| 807 |
|
if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\') |
| 808 |
|
{ |
| 809 |
|
$incontext['error'] = $txt['error_windows_chmod']; |
| 810 |
|
return false; |
| 811 |
|
} |
| 812 |
|
|
| 813 |
|
// Make sure it works. |
| 814 |
|
require(dirname(__FILE__) . '/Settings.php'); |
|
@@ 971-975 (lines=5) @@
|
| 968 |
|
); |
| 969 |
|
|
| 970 |
|
// Must save! |
| 971 |
|
if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\') |
| 972 |
|
{ |
| 973 |
|
$incontext['error'] = $txt['error_windows_chmod']; |
| 974 |
|
return false; |
| 975 |
|
} |
| 976 |
|
|
| 977 |
|
// Make sure it works. |
| 978 |
|
require(dirname(__FILE__) . '/Settings.php'); |