Author: nextgens
Date: 2006-02-17 20:27:15 +0000 (Fri, 17 Feb 2006)
New Revision: 8054
Modified:
trunk/website/index.php
Log:
Updated website : now we hide credentials in the svn repository
Modified: trunk/website/index.php
===================================================================
--- trunk/website/index.php 2006-02-17 13:54:47 UTC (rev 8053)
+++ trunk/website/index.php 2006-02-17 20:27:15 UTC (rev 8054)
@@ -11,7 +11,8 @@
$page = "index";
}
-mysql_connect("mysql4-f", "f978rw", "t6j4f3gt");
+include_once "/home/users/n/ne/nextgens/config.inc";
+mysql_connect("mysql4-f", $mysql_user, $mysql_password);
mysql_select_db("f978_access");
mysql_query("INSERT INTO access VALUES (\"".$_SERVER["REMOTE_ADDR"]."\",
\"".$_SERVER["HTTP_REFERER"]."\", NOW())");
mysql_close();