mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
implement neutral-format personal data export
This commit is contained in:
@@ -21,6 +21,14 @@
|
||||
$err_msg = "HTMLPurifier cache directory should be writable by anyone (chmod -R 777 $purifier_cache_dir)";
|
||||
}
|
||||
|
||||
if (!is_writable(CACHE_DIR . "/images")) {
|
||||
$err_msg = "Image cache is not writable (chmod -R 777 ".CACHE_DIR."/images)";
|
||||
}
|
||||
|
||||
if (!is_writable(CACHE_DIR . "/export")) {
|
||||
$err_msg = "Data export cache is not writable (chmod -R 777 ".CACHE_DIR."/export)";
|
||||
}
|
||||
|
||||
if (GENERATED_CONFIG_CHECK != EXPECTED_CONFIG_VERSION) {
|
||||
$err_msg = "Configuration option checker sanity_config.php is outdated, please recreate it using ./utils/regen_config_checks.sh";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user