diff options
author | Christian Pointner <equinox@ffgraz.net> | 2013-12-30 02:44:13 +0000 |
---|---|---|
committer | Christian Pointner <equinox@ffgraz.net> | 2013-12-30 02:44:13 +0000 |
commit | 70b378464945443b234380c5098ec7066bb0b15f (patch) | |
tree | f79d174c3be10cbf80eea6debca80042a1d8cdaa /db.class.php | |
parent | 736522335971a165326b741632dbd5e1efdf6ec3 (diff) |
cleanup
Diffstat (limited to 'db.class.php')
-rw-r--r-- | db.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db.class.php b/db.class.php index 0921bc8..1a3647f 100644 --- a/db.class.php +++ b/db.class.php @@ -13,7 +13,7 @@ function DB($user, $pass, $host, $dbname) { } function connect() { - $this->db = mysql_connect($this->host, $this->user, $this->pass) + $this->db = mysql_connect($this->host, $this->user, $this->pass) or $this->error("Verbindungsaufbau fehlgeschlagen"); mysql_select_db($this->dbname); } |