swapped order of require statements
authorDave Raggett <dsr@w3.org>
Mon, 09 May 2011 11:12:52 +0100
changeset 15 1ede69b72327
parent 13 dfa8f2a4fa76
child 16 797bd6494391
swapped order of require statements
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 11:12:52 2011 +0100
@@ -1,6 +1,7 @@
 <?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 11:12:52 2011 +0100
@@ -1,6 +1,6 @@
 <?php
+  require 'dbinfo.phi';
   require("config.php");
-  require 'dbinfo.phi';
 
 
   $nl = "\n";
--- a/sharing/share.php	Sun May 08 18:45:20 2011 +0100
+++ b/sharing/share.php	Mon May 09 11:12:52 2011 +0100
@@ -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 11:12:52 2011 +0100
@@ -1,6 +1,6 @@
 <?php
+  require 'dbinfo.phi';
   require("config.php");
-  require 'dbinfo.phi';
 
   $nl = "\n";
   $tab = "\t";