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:
@@ -225,6 +225,11 @@ if (!defined('HEADER_EXPANDER')) define('HEADER_EXPANDER', false);
|
|||||||
*/
|
*/
|
||||||
if (!defined('SYSTEM_SORT_MINUTES')) define ('SYSTEM_SORT_MINUTES',5);
|
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
|
* Database configuration for queXS
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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>";
|
foreach ($css as $c) print "<link rel='stylesheet' href='$c' type='text/css'></link>";
|
||||||
if ($javascript)
|
if ($javascript)
|
||||||
foreach ($javascript as $j) print "<script type='text/javascript' src='$j'></script>";
|
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-->
|
print " <!--Set to refresh every $refresh seconds-->
|
||||||
<meta http-equiv='Cache-Control' content='no-cache'/>
|
<meta http-equiv='Cache-Control' content='no-cache'/>
|
||||||
|
|||||||
Reference in New Issue
Block a user