Mercurial > hg > webaudioevaluationtool
changeset 3121:edd536f01e4b
Include config.php
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Wed, 18 Jul 2018 16:51:26 +0100 |
parents | 53d701288da5 |
children | 3e97bf9d24cf |
files | php/get_filtered_count.php php/get_tests.php php/pool.php php/pseudo.php php/requestKey.php php/save.php php/score_parser.php |
diffstat | 7 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/php/get_filtered_count.php Wed Jul 18 16:47:07 2018 +0100 +++ b/php/get_filtered_count.php Wed Jul 18 16:51:26 2018 +0100 @@ -1,4 +1,5 @@ <?php +incluce_once("config.php"); header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache");
--- a/php/get_tests.php Wed Jul 18 16:47:07 2018 +0100 +++ b/php/get_tests.php Wed Jul 18 16:51:26 2018 +0100 @@ -1,4 +1,5 @@ <?php +incluce_once("config.php"); header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache");
--- a/php/pool.php Wed Jul 18 16:47:07 2018 +0100 +++ b/php/pool.php Wed Jul 18 16:51:26 2018 +0100 @@ -1,4 +1,5 @@ <?php +incluce_once("config.php"); header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache");
--- a/php/pseudo.php Wed Jul 18 16:47:07 2018 +0100 +++ b/php/pseudo.php Wed Jul 18 16:51:26 2018 +0100 @@ -1,4 +1,5 @@ <?php +incluce_once("config.php"); header('Access-Control-Allow-Origin: *'); header("Content-type: text/xml"); header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
--- a/php/requestKey.php Wed Jul 18 16:47:07 2018 +0100 +++ b/php/requestKey.php Wed Jul 18 16:51:26 2018 +0100 @@ -1,5 +1,5 @@ <?php - +incluce_once("config.php"); function generateRandomString($length = 32) { // from http://stackoverflow.com/questions/4356289/php-random-string-generator $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
--- a/php/save.php Wed Jul 18 16:47:07 2018 +0100 +++ b/php/save.php Wed Jul 18 16:51:26 2018 +0100 @@ -1,5 +1,5 @@ <?php - +incluce_once("config.php"); function findNodeByAttribute($nodeList, $attributeName, $attributeValue) { if (empty($attributeName) || empty($attributeValue)) { die("Error: Empty findNodeByAttribute");
--- a/php/score_parser.php Wed Jul 18 16:47:07 2018 +0100 +++ b/php/score_parser.php Wed Jul 18 16:51:26 2018 +0100 @@ -1,4 +1,5 @@ <?php +incluce_once("config.php"); header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache");