git://git.jankratochvil.net
/
www.energie.vellum.cz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
50054f5
)
Last PHP error message preventer (@) removed
author
short
<>
Fri, 17 Aug 2001 22:47:08 +0000
(22:47 +0000)
committer
short
<>
Fri, 17 Aug 2001 22:47:08 +0000
(22:47 +0000)
common.php
patch
|
blob
|
history
diff --git
a/common.php
b/common.php
index
7578271
..
0f9a035
100644
(file)
--- a/
common.php
+++ b/
common.php
@@
-78,7
+78,7
@@
function db_connect()
if (isset($db_link))
return;
- if (!($db_link=
@
mysql_connect($db_host,$db_user,$db_pwd)))
+ if (!($db_link=mysql_connect($db_host,$db_user,$db_pwd)))
fatal("MySQL connect: ".mysql_error());
if (!mysql_select_db($db_name,$db_link))
fatal("MySQL database select: ".mysql_error());