mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
NOISSUE, change some code for php5
This commit is contained in:
parent
be662c8c2a
commit
f8af9ef6ce
6 changed files with 18 additions and 97 deletions
|
|
@ -26,20 +26,6 @@ class DBMysqli extends DBMysql
|
|||
$this->_connect();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return if supportable
|
||||
* Check 'mysqli_connect' function exists.
|
||||
* @return boolean
|
||||
*/
|
||||
function isSupported()
|
||||
{
|
||||
if(!function_exists('mysqli_connect'))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of this class
|
||||
* @return DBMysqli return DBMysqli object instance
|
||||
|
|
@ -444,5 +430,8 @@ class DBMysqli extends DBMysql
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
DBMysqli::$isSupported = function_exists('mysqli_connect');
|
||||
|
||||
/* End of file DBMysqli.class.php */
|
||||
/* Location: ./classes/db/DBMysqli.class.php */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue