Revert "fixing bootstrap to fit with new DB class"

This reverts commit 0acdc73224.
This commit is contained in:
fser 2014-07-05 22:28:29 +02:00
parent b950c3f842
commit 548189bb6c
1 changed files with 14 additions and 6 deletions

View File

@ -120,12 +120,20 @@ foreach ($mysqlConfigFile as $line) {
* the connection to the MySQL database.
*/
class DB_system extends DB_Sql {
function __construct() {
var $Host,$Database,$User,$Password;
/**
* Constructor
*/
function DB_system($user,$database,$password) {
global $L_MYSQL_HOST,$L_MYSQL_DATABASE,$L_MYSQL_LOGIN,$L_MYSQL_PWD;
parent::__construct($L_MYSQL_DATABASE, $L_MYSQL_HOST, $L_MYSQL_LOGIN, $L_MYSQL_PWD);
$this->Host = "127.0.0.1";
$this->Database = $database;
$this->User = $user;
$this->Password = $password;
}
}
// Creates database from schema
// *********************************************