getting the settings out of the config file
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1,3 @@
|
||||
/.project
|
||||
/settings.php
|
||||
/.buildpath
|
||||
|
||||
@@ -100,10 +100,10 @@ class PhpObject
|
||||
|
||||
class MySqlManager extends PhpObject
|
||||
{
|
||||
const DB_SERVER = 'localhost';
|
||||
const DB_LOGIN = 'root';
|
||||
const DB_PASS = '0nadmin';
|
||||
const DB_NAME = 'mythoughts';
|
||||
const DB_SERVER = Settings::DB_SERVER;
|
||||
const DB_LOGIN = Settings::DB_LOGIN;
|
||||
const DB_PASS = Settings::DB_PASS;
|
||||
const DB_NAME = Settings::DB_NAME;
|
||||
|
||||
const ID_TAG = 'id_';
|
||||
const USERS_TABLE = 'users';
|
||||
|
||||
Reference in New Issue
Block a user