mirror of
https://github.com/agdsn/ancient-weatherstation.git
synced 2026-06-19 14:58:00 +00:00
improve frontend performance
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@218 dd492736-c11a-0410-ad51-8c26713eaf7f
This commit is contained in:
@@ -21,7 +21,7 @@ class Connection{
|
||||
/* Verbindung herstellen (wenn noch net besteht)*/
|
||||
function _createConn(){
|
||||
//print $this->conn."<br>";
|
||||
if($this->conn == NULL){
|
||||
if($this->conn === NULL){
|
||||
$this->conn = pg_connect(Config::getPgConnString())
|
||||
or die('Verbindungsaufbau fehlgeschlagen: ' . pg_last_error());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user