diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-03-01 21:34:09 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-03-01 21:34:09 +0000 |
commit | 728249cbc4a7a907bada7a8569d8a3d2052ab308 (patch) | |
tree | 4bde92dfb269451bc6e1bd266dac49d224e76dde /includes/database.inc | |
parent | a925539e8f668653aa0bc2eb199dae614294ec9e (diff) | |
download | brdo-728249cbc4a7a907bada7a8569d8a3d2052ab308.tar.gz brdo-728249cbc4a7a907bada7a8569d8a3d2052ab308.tar.bz2 |
- fixed small translation glitch in format_interval
- added a couple of missing t() functions
- improved the comments module, fixed the score problem Jeroen
reported earlier -> it's slicker but I hope it won't break anything
Diffstat (limited to 'includes/database.inc')
-rw-r--r-- | includes/database.inc | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/includes/database.inc b/includes/database.inc index 6e72de158..9e0d22254 100644 --- a/includes/database.inc +++ b/includes/database.inc @@ -1,11 +1,4 @@ <? -/* - * These functions build the foundation for accessing the database: - * it is a general database abstraction layer suitable for several - * databases. Currently, the only supported database is MySQL but - * it should be straightforward to port it to any other database: - * just adjust the handlers to your needs. - */ function db_connect($host, $user, $pass, $name) { mysql_pconnect($host, $user, $pass) or die(mysql_Error()); @@ -45,9 +38,7 @@ function db_result($qid, $field = 0) { if ($qid) return mysql_result($qid, $field); } -# -# Automatically connect to database: -# +// Setup database connection: db_connect($db_host, $db_user, $db_pass, $db_name); -?> +?>
\ No newline at end of file |