From 9e9dbf8e2a04a244173fd299e1d2a294a4a839b9 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Mon, 8 Apr 2013 13:30:52 +0000 Subject: [PATCH] Create default config files and stop indexing actual configs --- .gitignore | 4 ++++ .../webim/libs/{config.php => default_config.php} | 0 .../webim/libs/{config.php => default_config.php} | 15 +++++++++++---- 3 files changed, 15 insertions(+), 4 deletions(-) rename src/messenger/tests/server_side/webim/libs/{config.php => default_config.php} (100%) rename src/messenger/webim/libs/{config.php => default_config.php} (88%) diff --git a/.gitignore b/.gitignore index 7f9b38e5..327af2c4 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,7 @@ src/mibewjava/.idea/workspace.xml src/mibewjava/org.mibew.notifier/resources/ mibew.ini .DS_Store + +# No index actual configuration files +src/messenger/webim/libs/config.php +src/messenger/tests/server_side/webim/libs/config.php \ No newline at end of file diff --git a/src/messenger/tests/server_side/webim/libs/config.php b/src/messenger/tests/server_side/webim/libs/default_config.php similarity index 100% rename from src/messenger/tests/server_side/webim/libs/config.php rename to src/messenger/tests/server_side/webim/libs/default_config.php diff --git a/src/messenger/webim/libs/config.php b/src/messenger/webim/libs/default_config.php similarity index 88% rename from src/messenger/webim/libs/config.php rename to src/messenger/webim/libs/default_config.php index 97d8c4b7..89868cf3 100644 --- a/src/messenger/webim/libs/config.php +++ b/src/messenger/webim/libs/default_config.php @@ -15,6 +15,13 @@ * limitations under the License. */ + +/* + * IMPORTANT: Before install mibew copy this file to config.php and fill + * it with your own settings! + */ + + /* * Application path on server */ @@ -28,10 +35,10 @@ $webim_encoding = "utf-8"; /* * MySQL Database parameters */ -$mysqlhost = "localhost"; -$mysqldb = "webim_db"; -$mysqllogin = "webim_lite"; -$mysqlpass = "123"; +$mysqlhost = ""; +$mysqldb = ""; +$mysqllogin = ""; +$mysqlpass = ""; $mysqlprefix = ""; $dbencoding = "utf8";