|
@@ 1032-1033 (lines=2) @@
|
| 1029 |
|
$drop = $smcFunc['db_drop_table']('{db_prefix}priv_check'); |
| 1030 |
|
|
| 1031 |
|
// Sorry... we need CREATE, ALTER and DROP |
| 1032 |
|
if (!$create || !$alter || !$drop) |
| 1033 |
|
return throw_error('The ' . $databases[$db_type]['name'] . ' user you have set in Settings.php does not have proper privileges.<br><br>Please ask your host to give this user the ALTER, CREATE, and DROP privileges.'); |
| 1034 |
|
|
| 1035 |
|
// Do a quick version spot check. |
| 1036 |
|
$temp = substr(@implode('', @file($boarddir . '/index.php')), 0, 4096); |
|
@@ 3311-3312 (lines=2) @@
|
| 3308 |
|
$drop = $smcFunc['db_drop_table']('{db_prefix}priv_check'); |
| 3309 |
|
|
| 3310 |
|
// Sorry... we need CREATE, ALTER and DROP |
| 3311 |
|
if (!$create || !$alter || !$drop) |
| 3312 |
|
print_error("The " . $databases[$db_type]['name'] . " user you have set in Settings.php does not have proper privileges.\n\nPlease ask your host to give this user the ALTER, CREATE, and DROP privileges.", true); |
| 3313 |
|
|
| 3314 |
|
$check = @file_exists($modSettings['theme_dir'] . '/index.template.php') |
| 3315 |
|
&& @file_exists($sourcedir . '/QueryString.php') |