* Added wfDie() wrapper, and some manual die(-1), to force the return code
[lhc/web/wiklou.git] / includes / DatabasePostgreSQL.php
index 9f3fb50..d984b2e 100644 (file)
@@ -45,7 +45,7 @@ class DatabasePgsql extends Database {
        function open( $server, $user, $password, $dbName ) {
                # Test for PostgreSQL support, to avoid suppressed fatal error
                if ( !function_exists( 'pg_connect' ) ) {
-                       die( "PostgreSQL functions missing, have you compiled PHP with the --with-pgsql option?\n" );
+                       wfDie( "PostgreSQL functions missing, have you compiled PHP with the --with-pgsql option?\n" );
                }
 
                global $wgDBschema;