summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/update.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/db/update.php b/db/update.php
index 05f2cd73..992ce715 100644
--- a/db/update.php
+++ b/db/update.php
@@ -1,8 +1,9 @@
<?php
require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'public' . DIRECTORY_SEPARATOR . 'bootstrap.php');
require_once ('includes/mysql_provider.php');
-require_once ('config/config.php');
-require_once ('config/config_db.php');
+require_once('config/config.default.php');
+if(file_exists('config/config.php'))
+ require_once ('config/config.php');
sql_connect($config['host'], $config['user'], $config['pw'], $config['db']);
error_reporting(E_ALL | E_NOTICE);