diff --git a/config.php b/config.php
index f7c45f4369a9d84543468217fb2f70f2ff6d0cd6..bf0f8832c8bc8c77923f4bac7e3e960098cf1196 100644
--- a/config.php
+++ b/config.php
@@ -22,6 +22,11 @@ include('config.inc.php');
 
 $THIS_DIR = dirname(__FILE__);
 
+/* Pre-install overrides */
+if (!isset($dbconfig)) {
+	error_reporting(E_ERROR & ~E_NOTICE & ~E_DEPRECATED);
+}
+
 if (file_exists($THIS_DIR.'/config_override.php')) {
 	include_once $THIS_DIR.'/config_override.php';
 }