From 2f9ab46032c7ab972aa319fbbb2fb5430b0c9ed5 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 2 Aug 2008 01:56:03 +0000 Subject: 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. --- central/trunk/db.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'central/trunk/db.php') 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 @@ /* InstaDisc Server - A Four Island Project */ +if (!extension_loaded('curl')) +{ + die('Sorry, but the PHP Extension "curl" is required for InstaDisc Server and you don\'t have it installed.'); +} + if (!file_exists('config.php')) { header('Location: install.php'); -- cgit 1.4.1