huangxingxing hace 1 año
padre
commit
a31ba3a7d6
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      phpcms/libs/classes/mysql.class.php

+ 0 - 5
phpcms/libs/classes/mysql.class.php

@@ -52,11 +52,6 @@ final class mysql {
 	 * @return void
 	 */
 	public function connect() {
-		print($this->config['hostname']);
-		print($this->config['username']);
-		print($this->config['password']);
-		$this->link=@mysql_connect("192.168.0.130","root","adimysql123",1);
-		print($this);
 		$func = $this->config['pconnect'] == 1 ? 'mysql_pconnect' : 'mysql_connect';
 		if(!$this->link = @$func($this->config['hostname'], $this->config['username'], $this->config['password'], 1)) {
 			$this->halt(mysql_error());