getting the settings out of the config file

This commit is contained in:
2013-10-05 14:39:11 +02:00
parent 58319a48fe
commit fceb61029a
2 changed files with 6 additions and 4 deletions

2
.gitignore vendored
View File

@@ -1 +1,3 @@
/.project
/settings.php
/.buildpath

View File

@@ -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';