mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 01:03:28 +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
|
|
@ -64,20 +64,6 @@ class DBCubrid extends DB
|
|||
return new DBCubrid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return if supportable
|
||||
* Check 'cubrid_connect' function exists.
|
||||
* @return boolean
|
||||
*/
|
||||
function isSupported()
|
||||
{
|
||||
if(!function_exists('cubrid_connect'))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
* DB Connect
|
||||
* this method is private
|
||||
|
|
@ -1190,5 +1176,8 @@ class DBCubrid extends DB
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
DBCubrid::$isSupported = function_exists('cubrid_connect');
|
||||
|
||||
/* End of file DBCubrid.class.php */
|
||||
/* Location: ./classes/db/DBCubrid.class.php */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue