Change Details
| src/Pluf/DB/MySQL.php |
| 39 | 39 | Pluf::loadFunction('Pluf_DB_defaultTypecast'); |
| 40 | 40 | $this->type_cast = Pluf_DB_defaultTypecast(); |
| 41 | 41 | $this->debug('* MYSQL CONNECT'); |
| 42 | | $this->con_id = @mysql_connect($server, $user, $pwd); |
| 42 | $this->con_id = mysql_connect($server, $user, $pwd); |
| 43 | 43 | $this->debug = $debug; |
| 44 | 44 | $this->pfx = $pfx; |
| 45 | 45 | if (!$this->con_id) { |
| ... | ... | |
| 51 | 51 | |
| 52 | 52 | function database($dbname) |
| 53 | 53 | { |
| 54 | | $db = @mysql_select_db($dbname); |
| 54 | $db = mysql_select_db($dbname); |
| 55 | 55 | $this->debug('* USE DATABASE '.$dbname); |
| 56 | 56 | if (!$db) { |
| 57 | 57 | throw new Exception($this->getError()); |
Download the corresponding diff file