When I run the script under PHP5, I get the following error message:
Call to undefined method Database::doQuery()
Here is the offending code:
Expand|Select|Wrap|Line Numbers
- function getBaseURL( )
- {
- $this->db->doQuery( "SELECT value FROM base_Config WHERE config='".CFG_FIELD_BASE_URL."' LIMIT 1" );
- $row = $this->db->nextAssoc( );
- return $row['value'];
- }