From 48952c50ceab6e46573e9b46b341b662d4d41e90 Mon Sep 17 00:00:00 2001 From: Jacob Salmela Date: Sun, 3 Jan 2016 15:36:31 -0600 Subject: [PATCH] script to run whitelist.sh --- index.php | 2 +- php/whitelist.php | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 php/whitelist.php diff --git a/index.php b/index.php index 3eb293ea..60653dbd 100644 --- a/index.php +++ b/index.php @@ -27,7 +27,7 @@ $(document).ready(function(){ var searchLi = $('#get_whitelist').val(); var commandArguments = "li00="+searchLi; - $.get("whitelist.php", commandArguments, function (data){ + $.get("php/whitelist.php", commandArguments, function (data){ // Delimiter to split the last echo command from the script dataSplitted = data.split(';'); $("#li01").html(dataSplitted[0]); diff --git a/php/whitelist.php b/php/whitelist.php new file mode 100644 index 00000000..80120007 --- /dev/null +++ b/php/whitelist.php @@ -0,0 +1,6 @@ +