diff options
Diffstat (limited to 'inc/auth_mysql.php')
-rw-r--r-- | inc/auth_mysql.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/auth_mysql.php b/inc/auth_mysql.php index 46e175c17..440e55411 100644 --- a/inc/auth_mysql.php +++ b/inc/auth_mysql.php @@ -8,6 +8,10 @@ * @author Andreas Gohr <andi@splitbrain.org> */ +//check for MySQL extension on load +if(!function_exists('mysql_connect')) + msg("MySQL extension not found",-1); + /** * Execute SQL * |