diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-23 00:12:05 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-23 01:25:47 -0500 |
commit | 4ea091174ce896e1293689de76f7a5122c4e834e (patch) | |
tree | 0909a356f15366590510cf78957d1857bc5e445d /web/lib | |
parent | e3dfb09aec084fc6bd119309ce949eaab714eae7 (diff) |
Make the instance name and domain configurable.
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/DB.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/DB.class.php b/web/lib/DB.class.php index b538e0d..ce62ec6 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', 'aur_shortname') . ' database'); } } |