Fix required files not being found

The files are located a directory up
This commit is contained in:
Arctic Code 2013-12-25 20:59:01 -06:00
parent b34e2db558
commit 2749abd20d

View File

@ -9,14 +9,14 @@
die("<div id=\"error\">Oh Noes! Something happened and I can't continue.<br />Please try again by using the form located at <a href=\"http://unps.us\">http://unps.us</a>.</div>");
}
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("<div id=\"error\">Sanatize() - No Input Provided, Aborting</div>");
include('api/dbsettings.php');
include('../api/dbsettings.php');
$output = strip_tags($input);
$output = stripslashes($output);
$output = $apidb->real_escape_string($output);