Fix databse settings
authorvivien
Mon, 09 May 2011 09:31:35 +0000
changeset 14 37eeebf97e30
parent 13 dfa8f2a4fa76
child 18 a31da9c89f9d
Fix databse settings
sharing/config.php
sharing/query.php
sharing/share.php
sharing/site.php
--- a/sharing/config.php	Sun May 08 18:45:20 2011 +0100
+++ b/sharing/config.php	Mon May 09 09:31:35 2011 +0000
@@ -1,6 +1,6 @@
 <?php
 // edit these to match your db
-  $username = "user";
-  $password = "password";
+  $username = $db_userid;
+  $password = $db_password;
   $database = "dashboard";
 ?>
--- a/sharing/query.php	Sun May 08 18:45:20 2011 +0100
+++ b/sharing/query.php	Mon May 09 09:31:35 2011 +0000
@@ -1,7 +1,6 @@
 <?php
+  require 'dbinfo.phi';
   require("config.php");
-  require 'dbinfo.phi';
-
 
   $nl = "\n";
   $tab = "\t";
--- a/sharing/share.php	Sun May 08 18:45:20 2011 +0100
+++ b/sharing/share.php	Mon May 09 09:31:35 2011 +0000
@@ -1,6 +1,6 @@
 <?php
+  require 'dbinfo.phi';
   require("config.php");
-  require 'dbinfo.phi';
 
   mb_internal_encoding("UTF-8");
 
--- a/sharing/site.php	Sun May 08 18:45:20 2011 +0100
+++ b/sharing/site.php	Mon May 09 09:31:35 2011 +0000
@@ -1,6 +1,6 @@
 <?php
+  require 'dbinfo.phi';
   require("config.php");
-  require 'dbinfo.phi';
 
   $nl = "\n";
   $tab = "\t";