summaryrefslogtreecommitdiff
path: root/web/lib/DB.class.php
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-11-23 00:12:05 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-11-23 00:12:05 -0500
commit1fc3ca62eeb334f55fc1ac6503df00f7e06edbb1 (patch)
treeca1853072a5c8cd87764f7796861c2c3c9821cdf /web/lib/DB.class.php
parent7e38e6d48957f60feaddda9a3eaf31d12b5b8548 (diff)
Make the instance name and domain configurable.
Diffstat (limited to 'web/lib/DB.class.php')
-rw-r--r--web/lib/DB.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/DB.class.php b/web/lib/DB.class.php
index b538e0d..4c58c3c 100644
--- a/web/lib/DB.class.php
+++ b/web/lib/DB.class.php
@@ -32,7 +32,7 @@ class DB {
self::$dbh = new PDO($dsn, $user, $password);
self::$dbh->exec("SET NAMES 'utf8' COLLATE 'utf8_general_ci';");
} catch (PDOException $e) {
- die('Error - Could not connect to AUR database');
+ die('Error - Could not connect to ' . config_get('options', 'branding_shortname') . ' database');
}
}