|
@@ 799-803 (lines=5) @@
|
| 796 |
|
} |
| 797 |
|
|
| 798 |
|
// God I hope it saved! |
| 799 |
|
if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\') |
| 800 |
|
{ |
| 801 |
|
$incontext['error'] = $txt['error_windows_chmod']; |
| 802 |
|
return false; |
| 803 |
|
} |
| 804 |
|
|
| 805 |
|
// Make sure it works. |
| 806 |
|
require(dirname(__FILE__) . '/Settings.php'); |
|
@@ 965-969 (lines=5) @@
|
| 962 |
|
); |
| 963 |
|
|
| 964 |
|
// Must save! |
| 965 |
|
if (!updateSettingsFile($vars) && substr(__FILE__, 1, 2) == ':\\') |
| 966 |
|
{ |
| 967 |
|
$incontext['error'] = $txt['error_windows_chmod']; |
| 968 |
|
return false; |
| 969 |
|
} |
| 970 |
|
|
| 971 |
|
// Make sure it works. |
| 972 |
|
require(dirname(__FILE__) . '/Settings.php'); |