Subversion Repositories oidplus

Rev

Rev 230 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 230 Rev 231
Line 105... Line 105...
105
        public function error() {
105
        public function error() {
106
                return !empty($this->mysqli->connect_error) ? $this->mysqli->connect_error : $this->mysqli->error;
106
                return !empty($this->mysqli->connect_error) ? $this->mysqli->connect_error : $this->mysqli->error;
107
        }
107
        }
108
       
108
 
109
        private $html = null;
109
        private $html = null;
110
        public function init($html) {
110
        public function init($html = true) {
111
                $this->html = $html;
111
                $this->html = $html;
112
        }
112
        }
113
 
113
 
114
        public function connect() {
114
        public function connect() {
115
                if (OIDPLUS_MYSQL_QUERYLOG) file_put_contents("query.log", '');
115
                if (OIDPLUS_MYSQL_QUERYLOG) file_put_contents("query.log", '');