--- 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";