Small modif
This commit is contained in:
parent
e3bf13ab47
commit
69614a0291
1
base.php
1
base.php
|
@ -10,6 +10,7 @@ define ("VERSION", "0.7.0beta");
|
||||||
define ("DB", "db");
|
define ("DB", "db");
|
||||||
date_default_timezone_set($config['default_timezone']);
|
date_default_timezone_set($config['default_timezone']);
|
||||||
|
|
||||||
|
|
||||||
function useServerSideRendering () {
|
function useServerSideRendering () {
|
||||||
global $config;
|
global $config;
|
||||||
return preg_match("/" . $config['cops_server_side_render'] . "/", $_SERVER['HTTP_USER_AGENT']);
|
return preg_match("/" . $config['cops_server_side_render'] . "/", $_SERVER['HTTP_USER_AGENT']);
|
||||||
|
|
Loading…
Reference in a new issue