From b97bb5dbfbab152c65b9bbfa2264099d12fea077 Mon Sep 17 00:00:00 2001
From: ry1015
Date: Thu, 13 Nov 2014 18:55:46 -0800
Subject: [PATCH] Can now load locally
---
f8l_exception/includes/inc_dbConnect.php | 2 +-
.../includes/inc_getNumberOfAccounts.php | 2 +-
.../includes/inc_loggedin_text_menu.php | 22 +++++++++----------
f8l_exception/includes/inc_showAccounts.php | 2 +-
f8l_exception/includes/inc_text_menu.php | 8 +++----
f8l_exception/includes/inc_validateLogin.php | 2 +-
6 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/f8l_exception/includes/inc_dbConnect.php b/f8l_exception/includes/inc_dbConnect.php
index 143408a..480081d 100644
--- a/f8l_exception/includes/inc_dbConnect.php
+++ b/f8l_exception/includes/inc_dbConnect.php
@@ -1,6 +1,6 @@
-Home |
-Change Password |
-Logout
+Home |
+Change Password |
+Logout
-My Accounts |
-Deposit |
-Withdraw |
-Transfer |
-View Statement
+My Accounts |
+Deposit |
+Withdraw |
+Transfer |
+View Statement
-New Loan |
-New Account |
-Make Loan Payment
+New Loan |
+New Account |
+Make Loan Payment
\ No newline at end of file
diff --git a/f8l_exception/includes/inc_showAccounts.php b/f8l_exception/includes/inc_showAccounts.php
index e6502d8..d65fbf9 100644
--- a/f8l_exception/includes/inc_showAccounts.php
+++ b/f8l_exception/includes/inc_showAccounts.php
@@ -1,6 +1,6 @@
Unable to connect to the database server.
" . "Error code " . mysql_errno() . ": " . mysql_error() . "
";
diff --git a/f8l_exception/includes/inc_text_menu.php b/f8l_exception/includes/inc_text_menu.php
index eaac29f..cd7aea8 100644
--- a/f8l_exception/includes/inc_text_menu.php
+++ b/f8l_exception/includes/inc_text_menu.php
@@ -1,7 +1,7 @@
-Home |
-New Customer |
-Login
+Home |
+New Customer |
+Login
-Admin
\ No newline at end of file
+Admin
\ No newline at end of file
diff --git a/f8l_exception/includes/inc_validateLogin.php b/f8l_exception/includes/inc_validateLogin.php
index 3cd315f..0a25694 100644
--- a/f8l_exception/includes/inc_validateLogin.php
+++ b/f8l_exception/includes/inc_validateLogin.php
@@ -4,7 +4,7 @@
function validateLogin ($myusername,$mypassword) {
global $errorCount;
global $errorMessage;
- include($_SERVER['DOCUMENT_ROOT']."/f8l_exception/includes/inc_dbConnect.php");
+ include f8l_exception/includes/inc_dbConnect.php;
mysql_select_db("$db_name")or die("cannot select DB");
// To protect MySQL injection (more detail about MySQL injection)