diff --git a/.gitignore b/.gitignore index d8fe4fa..939cf88 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /.project +/settings.php +/.buildpath diff --git a/config.php b/config.php index 1fd6da2..a5d620d 100755 --- a/config.php +++ b/config.php @@ -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';