diff options
Diffstat (limited to 'central/trunk/db.php')
| -rw-r--r-- | central/trunk/db.php | 5 |
1 files changed, 5 insertions, 0 deletions
| diff --git a/central/trunk/db.php b/central/trunk/db.php index c492722..3d70d6c 100644 --- a/central/trunk/db.php +++ b/central/trunk/db.php | |||
| @@ -2,6 +2,11 @@ | |||
| 2 | 2 | ||
| 3 | /* InstaDisc Server - A Four Island Project */ | 3 | /* InstaDisc Server - A Four Island Project */ |
| 4 | 4 | ||
| 5 | if (!extension_loaded('curl')) | ||
| 6 | { | ||
| 7 | die('Sorry, but the PHP Extension "curl" is required for InstaDisc Server and you don\'t have it installed.'); | ||
| 8 | } | ||
| 9 | |||
| 5 | if (!file_exists('config.php')) | 10 | if (!file_exists('config.php')) |
| 6 | { | 11 | { |
| 7 | header('Location: install.php'); | 12 | header('Location: install.php'); |
