Marius Cramer
2015-04-16 d7ad8f37a67851225d6f48a7fe73d7e47bec59a3
- fixed mysql lib again
1 files modified
4 ■■■■ changed files
install/lib/mysql.lib.php 4 ●●●● patch | view | raw | blame | history
install/lib/mysql.lib.php
@@ -77,7 +77,7 @@
        if($this->_iConnId) mysqli_close($this->_iConnId);
    }
    
    private function connect() {
    private function do_connect() {
        if($this->_iConnId) return true;
        
        $this->_iConnId = mysqli_connect($this->dbHost, $this->dbUser, $this->dbPass);
@@ -180,7 +180,7 @@
    private function _query($sQuery = '') {
        global $app;
        $this->connect();
        $this->do_connect();
        //if($this->isConnected == false) return false;
        if ($sQuery == '') {