about summary refs log tree commit diff stats
path: root/central/trunk/db.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-02 01:56:03 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-02 01:56:03 +0000
commit2f9ab46032c7ab972aa319fbbb2fb5430b0c9ed5 (patch)
tree5091b35420b2b0a84effd64611e290b8ba8cef03 /central/trunk/db.php
parentcb70c33cd4372c481eae796ec4fda2c89fe03925 (diff)
downloadinstadisc-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.php5
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
5if (!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
5if (!file_exists('config.php')) 10if (!file_exists('config.php'))
6{ 11{
7 header('Location: install.php'); 12 header('Location: install.php');