2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Added ALLOW_PAGE_REFRESH config directive (default true)

This commit is contained in:
azammitdcarf
2011-02-02 05:35:08 +00:00
parent 03438a15ed
commit 56272934f7
2 changed files with 6 additions and 1 deletions

View File

@@ -225,6 +225,11 @@ if (!defined('HEADER_EXPANDER')) define('HEADER_EXPANDER', false);
*/
if (!defined('SYSTEM_SORT_MINUTES')) define ('SYSTEM_SORT_MINUTES',5);
/**
* Allow page refreshing
*/
if (!defined('ALLOW_PAGE_REFRESH')) define ('ALLOW_PAGE_REFRESH',true);
/**
* Database configuration for queXS
*/

View File

@@ -56,7 +56,7 @@ print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
foreach ($css as $c) print "<link rel='stylesheet' href='$c' type='text/css'></link>";
if ($javascript)
foreach ($javascript as $j) print "<script type='text/javascript' src='$j'></script>";
if ($refresh)
if ($refresh && ALLOW_PAGE_REFRESH)
{
print " <!--Set to refresh every $refresh seconds-->
<meta http-equiv='Cache-Control' content='no-cache'/>