diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-02 01:56:03 +0000 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-02 01:56:03 +0000 |
| commit | 2f9ab46032c7ab972aa319fbbb2fb5430b0c9ed5 (patch) | |
| tree | 5091b35420b2b0a84effd64611e290b8ba8cef03 /central/trunk/db.php | |
| parent | cb70c33cd4372c481eae796ec4fda2c89fe03925 (diff) | |
| download | instadisc-2f9ab46032c7ab972aa319fbbb2fb5430b0c9ed5.tar.gz instadisc-2f9ab46032c7ab972aa319fbbb2fb5430b0c9ed5.tar.bz2 instadisc-2f9ab46032c7ab972aa319fbbb2fb5430b0c9ed5.zip | |
Central: Fixed [wiki:Verification] system
Also added the phpMailer class from Codeworxtech, its SMTP module and a snippet in db.php which kills execution of the Central Server if the PHP "curl" extension is not installed and loaded.
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'); |
