Readied error pages for variable themes.
Fixed error in parsing pseudocode.
This commit is contained in:
@ -83,7 +83,7 @@ function ensureEnvironment() {
|
||||
"sendHTTPHeaders" => 1,
|
||||
"CSPimageSources" => "",
|
||||
"CSPobjectSources" => "",
|
||||
"maxFileSize" => 300000,
|
||||
"maxFileSize" => 300000000,
|
||||
],
|
||||
json_decode(file_get_contents(__DIR__ . "/../data/settings.json"), true)
|
||||
);
|
||||
@ -138,7 +138,8 @@ function queryCachePage(string $url, string $area = "", array $settings = ['cach
|
||||
|
||||
// Ignore caching if cacheRefreshInterval equals zero.
|
||||
if ($settings['cacheRefreshInterval'] == 0) {
|
||||
return file_get_contents($url);
|
||||
$content = file_get_contents($url);
|
||||
return $content;
|
||||
}
|
||||
|
||||
$fileDir = __DIR__ . "/../data/caches/$area";
|
||||
|
Reference in New Issue
Block a user