From 1334c45a3601057447602e9ddf156413f22d28d1 Mon Sep 17 00:00:00 2001 From: losinshi Date: Sun, 14 Jan 2007 19:35:46 +0000 Subject: [PATCH] improve frontend performance git-svn-id: file:///home/jan/tmp/wetterstation/trunk@218 dd492736-c11a-0410-ad51-8c26713eaf7f --- webstuff/frontend/php_inc/connection.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webstuff/frontend/php_inc/connection.inc.php b/webstuff/frontend/php_inc/connection.inc.php index 38d454a..fa7913e 100644 --- a/webstuff/frontend/php_inc/connection.inc.php +++ b/webstuff/frontend/php_inc/connection.inc.php @@ -21,7 +21,7 @@ class Connection{ /* Verbindung herstellen (wenn noch net besteht)*/ function _createConn(){ //print $this->conn."
"; - if($this->conn == NULL){ + if($this->conn === NULL){ $this->conn = pg_connect(Config::getPgConnString()) or die('Verbindungsaufbau fehlgeschlagen: ' . pg_last_error()); }