[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/areas/l10n/lib
From: Claudiu Costin <claudiuc () kde ! org>
Date: 2005-09-10 12:58:43
Message-ID: 1126357123.458665.29566.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 459229 by claudiu:
Now the MySQL config data and other local and sensitive info
can be kept out of SVN and server root
M +16 -22 config.php
--- trunk/www/areas/l10n/lib/config.php #459228:459229
@@ -9,6 +9,7 @@
//
////////////////////////////////////////////////////////////////////////
+
// debug level
$debug=100;
@@ -34,35 +35,22 @@
// Example: http://websvn.kde.org/*checkout*/branches/stable/ro/messages/kdebase/clockapplet.po
$svnwebformat2 = "http://websvn.kde.org/*checkout*/branches/%s/l10n/%s";
-
// mysql info for 'teams'
-//$user0='team_www';
-//$pass0='frigorIf1c';
-//$host0='127.0.0.1';
-//$db0 ='i18n';
-$user0='root';
-$pass0='';
-$host0='localhost';
+$user0='user_for_ktc';
+$pass0='change_me_please';
+$host0='127.0.0.1';
$db0 ='i18n';
// mysql info for 'guistats'
-//$user1='gui_www';
-//$pass1='pankake';
-//$host1='127.0.0.1';
-//$db1 ='i18n';
-$user1='root';
-$pass1='';
-$host1='localhost';
+$user1='user_for_guistats';
+$pass1='change_me_please';
+$host1='127.0.0.1';
$db1 ='i18n';
// mysql info for 'docstats'
-//$user2='doc_www';
-//$pass2='lumanarak';
-//$host2='127.0.0.1';
-//$db2 ='i18n';
-$user2='root';
-$pass2='';
-$host2='localhost';
+$user2='user_for_docstats';
+$pass2='change_me_please';
+$host2='127.0.0.1';
$db2 ='i18n';
@@ -128,5 +116,11 @@
)
);
+# include global and local configuration files
+$site="l10n.kde.org";
+$sys_conf="/etc/$site.conf";
+$usr_conf=getenv("HOME"). ".$site.conf";
+if (is_readable($sys_conf)) include($sys_conf);
+if (is_readable($usr_conf)) include($usr_conf);
?>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic