diff --git a/backend/Config.php b/backend/Config.php
index 40fb080b255c70f402b1e4cb13e4d866455fbd6f..b9312412378f022334b0fc022b59df684f52fafd 100644
--- a/backend/Config.php
+++ b/backend/Config.php
@@ -18,6 +18,9 @@ class Config {
     }
 
     public static function createFromGlobals() {
-        return new Config(path_prefix, 'pgsql:host=' . db_host . ';port=' . db_port . ';dbname=' . db_name . '', db_user, db_pass);
+        if (isset(db_connector))
+            return new Config(path_prefix, db_connector, db_user, db_pass);
+        else
+            return new Config(path_prefix, 'pgsql:host=' . db_host . ';port=' . db_port . ';dbname=' . db_name . '', db_user, db_pass);
     }
-}
\ No newline at end of file
+}
diff --git a/qrs_config.default.php b/qrs_config.default.php
index e5f61f06a0da4e0fbcf0e606bfbb21fdd0739069..836d63c78ca68c9b20d1928dac3bde44b5f1020f 100644
--- a/qrs_config.default.php
+++ b/qrs_config.default.php
@@ -2,7 +2,13 @@
 define('db_host', 'example.com');
 define('db_port', 5432);
 define('db_name', 'quassel');
+
+//Only use this if you know what you are doing
+//define('db_connector', '');
+
 define('db_user', 'quassel');
 define('db_pass', 'password');
+
 define('backend', 'pgsql-smart');
+
 define('path_prefix', '');