|
@@ 761-762 (lines=2) @@
|
| 758 |
|
$drop = $smcFunc['db_drop_table']('{db_prefix}priv_check'); |
| 759 |
|
|
| 760 |
|
// Sorry... we need CREATE, ALTER and DROP |
| 761 |
|
if (!$create || !$alter || !$drop) |
| 762 |
|
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.'); |
| 763 |
|
|
| 764 |
|
// Do a quick version spot check. |
| 765 |
|
$temp = substr(@implode('', @file($boarddir . '/index.php')), 0, 4096); |
|
@@ 2502-2503 (lines=2) @@
|
| 2499 |
|
$drop = $smcFunc['db_drop_table']('{db_prefix}priv_check'); |
| 2500 |
|
|
| 2501 |
|
// Sorry... we need CREATE, ALTER and DROP |
| 2502 |
|
if (!$create || !$alter || !$drop) |
| 2503 |
|
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); |
| 2504 |
|
|
| 2505 |
|
$check = @file_exists($modSettings['theme_dir'] . '/index.template.php') |
| 2506 |
|
&& @file_exists($sourcedir . '/QueryString.php') |