From c670a80ddd9b03bd4ea6d940a9ed682fd26248d7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 18 Mar 2013 11:00:44 +0400 Subject: cache minified js files --- include/sanity_check.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/sanity_check.php') diff --git a/include/sanity_check.php b/include/sanity_check.php index fcf548705..4925486a3 100644 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -36,6 +36,10 @@ array_push($errors, "Data export cache is not writable (chmod -R 777 ".CACHE_DIR."/export)"); } + if (!is_writable(CACHE_DIR . "/js")) { + array_push($errors, "Javascript cache is not writable (chmod -R 777 ".CACHE_DIR."/js)"); + } + if (GENERATED_CONFIG_CHECK != EXPECTED_CONFIG_VERSION) { array_push($errors, "Configuration option checker sanity_config.php is outdated, please recreate it using ./utils/regen_config_checks.sh"); -- cgit v1.2.3