[Dehs-devel] r109 - trunk/www
atomo64-guest at alioth.debian.org
atomo64-guest at alioth.debian.org
Sat Feb 16 23:12:02 UTC 2008
Author: atomo64-guest
Date: 2008-02-16 23:12:01 +0000 (Sat, 16 Feb 2008)
New Revision: 109
Modified:
trunk/www/config_www.inc
Log:
Use non-persistent database connections by default
Modified: trunk/www/config_www.inc
===================================================================
--- trunk/www/config_www.inc 2008-02-11 02:12:02 UTC (rev 108)
+++ trunk/www/config_www.inc 2008-02-16 23:12:01 UTC (rev 109)
@@ -1,10 +1,10 @@
<?php
-$db = @pg_pconnect("dbname=dehs host=localhost");
+$db = @pg_connect("dbname=dehs host=localhost");
if (!$db) {
- $db = @pg_connect("dbname=dehs host=localhost");
+ $db = @pg_pconnect("dbname=dehs host=localhost");
}
if (!$db) {
echo "Db error";
die(1);
}
-?>
+?>
\ No newline at end of file
More information about the Dehs-devel
mailing list