Browse Source

Fixed a small mistake, not causing any major problems

pull/40/head
Savetheinternet 14 years ago
parent
commit
c17a26d689
  1. 2
      inc/database.php

2
inc/database.php

@ -5,7 +5,7 @@
if($pdo) return true;
$dsn = DB_TYPE . ':host=' . DB_SERVER . ';dbname=' . DB_DATABASE;
if(!empty($dsn))
if(!empty(DB_DSN))
$dsn .= ';' . DB_DSN;
try {
return $pdo = new PDO($dsn, DB_USER, DB_PASSWORD);

Loading…
Cancel
Save