From 2749abd20db0256b7ee3d54692f3403020143c82 Mon Sep 17 00:00:00 2001 From: Arctic Code Date: Wed, 25 Dec 2013 20:59:01 -0600 Subject: [PATCH] Fix required files not being found The files are located a directory up --- mobile/process.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/process.php b/mobile/process.php index 519e090..f7422f5 100644 --- a/mobile/process.php +++ b/mobile/process.php @@ -9,14 +9,14 @@ die("
Oh Noes! Something happened and I can't continue.
Please try again by using the form located at http://unps.us.
"); } - require('api/api.backend.php'); - require('api/dbsettings.php'); + require('../api/api.backend.php'); + require('../api/dbsettings.php'); $key = '9a211e90b0a0570ed33e47428231e702af47b6f54fb347960f661184e063a1d0'; // KEEP THIS PRIVATE! This is the only thing that authenticates the application function sanitize($input){ if ($input == null) die("
Sanatize() - No Input Provided, Aborting
"); - include('api/dbsettings.php'); + include('../api/dbsettings.php'); $output = strip_tags($input); $output = stripslashes($output); $output = $apidb->real_escape_string($output);