diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-04-14 19:29:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-04-14 19:29:27 +0000 |
commit | d32216f8b6cfca4901ad31f634bb6b846c832f48 (patch) | |
tree | d78d9863d13bf510b41e276a8edfc1d3ba45b20a /includes/database.inc | |
parent | d7fefa2a6b4722e4ecd6f9cde2d8e8832d750d86 (diff) | |
download | brdo-d32216f8b6cfca4901ad31f634bb6b846c832f48.tar.gz brdo-d32216f8b6cfca4901ad31f634bb6b846c832f48.tar.bz2 |
- added new variable: theme_footer which can be used to provide a
footer message like a copyright notice. Themes should use this!
- small improvement to example theme
- added theme_footer to theme marvin
- small improvement to database.inc
Diffstat (limited to 'includes/database.inc')
-rw-r--r-- | includes/database.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/database.inc b/includes/database.inc index 139dee1b4..634ec55ef 100644 --- a/includes/database.inc +++ b/includes/database.inc @@ -8,9 +8,9 @@ function db_connect($host, $user, $pass, $name) { function db_query($query, $debug = 0) { $result = mysql_query($query); - if ($debug) print "<P>query: $query<BR>error". mysql_error() ."</P>"; + if ($debug) print "<P>query: $query<BR>error:". mysql_error() ."</P>"; if ($result) return $result; - else watchdog("error", "database: ". mysql_error() ."<BR>query: ". htmlspecialchars($query)); + else watchdog("error", "database: ". mysql_error() ."\nquery: ". htmlspecialchars($query)); } function db_fetch_object($qid) { |