CoreFiles by mySites.guru
database.php26 lines, 715 bytes, from Joomla_1.5.0-Stable-Full_Package.zip
Raw History Compare with 1.0.15
md5
3b0fdd7d3655d2882138078c95e32e42
sha1
b8f66495eeb471cff5f907b579043b10375d04f9
sha256
d21a60b9ad164233008baeaf575909d7b004ab323940647115cbf510e4b5cddb
<?php
/**
 * Legacy Mode compatibility
 * @version		$Id: database.php 7692 2007-06-08 20:41:29Z tcp $
 * @package		Joomla.Legacy
 * @deprecated	As of version 1.5
 */

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

require_once( dirname(__FILE__)  .'/../libraries/loader.php' );

jimport( 'joomla.database.database' );
jimport( 'joomla.database.database.mysql' );
/**
 * Legacy class, derive from JDatabase instead.
 *
 * @package		Joomla
 * @deprecated As of version 1.5
 */
class database extends JDatabase {
	function __construct ($host='localhost', $user, $pass, $db='', $table_prefix='', $offline = true) {
		parent::__construct( 'mysql', $host, $user, $pass, $db, $table_prefix );
	}
}

The same content is in 4 releases, Joomla 1.5.0 to 1.5.3. See them all, or every version of this file.