CoreFiles by mySites.guru
database.php26 lines, 720 bytes, from Joomla_1.5.21-Stable-Full_Package.zip
Raw History Compare with 1.5.20
md5
2aeb0bf8ce72258413c92ee862dafc23
sha1
61ae6d8e787b2c58889d209c17b91c28a7d812a2
sha256
4417c83cf12393712feb95c4be06bdc7af52751a756994fca665cc8aca5d0fc2
<?php
/**
 * Legacy Mode compatibility
 * @version		$Id: database.php 10381 2008-06-01 03:35:53Z pasamio $
 * @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 23 releases, Joomla 1.5.4 to 1.5.26. See them all, or every version of this file.