fixing bootstrap to fit with new DB class
This commit is contained in:
parent
71f3a60e8c
commit
0acdc73224
|
@ -120,20 +120,12 @@ foreach ($mysqlConfigFile as $line) {
|
||||||
* the connection to the MySQL database.
|
* the connection to the MySQL database.
|
||||||
*/
|
*/
|
||||||
class DB_system extends DB_Sql {
|
class DB_system extends DB_Sql {
|
||||||
var $Host,$Database,$User,$Password;
|
function __construct() {
|
||||||
/**
|
|
||||||
* Constructor
|
|
||||||
*/
|
|
||||||
function DB_system($user,$database,$password) {
|
|
||||||
global $L_MYSQL_HOST,$L_MYSQL_DATABASE,$L_MYSQL_LOGIN,$L_MYSQL_PWD;
|
global $L_MYSQL_HOST,$L_MYSQL_DATABASE,$L_MYSQL_LOGIN,$L_MYSQL_PWD;
|
||||||
$this->Host = "127.0.0.1";
|
parent::__construct($L_MYSQL_DATABASE, $L_MYSQL_HOST, $L_MYSQL_LOGIN, $L_MYSQL_PWD);
|
||||||
$this->Database = $database;
|
|
||||||
$this->User = $user;
|
|
||||||
$this->Password = $password;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Creates database from schema
|
// Creates database from schema
|
||||||
// *********************************************
|
// *********************************************
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue