Readied error pages for variable themes.

Fixed error in parsing pseudocode.
This commit is contained in:
jrenslin authored and Stefan Rohde-Enslin committed 2018-06-21 13:25:38 +02:00
1 parent b340c7efff
commit 4e06d0bae7
18 files changed
+84 -81

No files matched your search

+3 -2
View File
@@ -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";