diff --git a/miniflux/check_setup.php b/miniflux/check_setup.php new file mode 100644 index 0000000..75ea157 --- /dev/null +++ b/miniflux/check_setup.php @@ -0,0 +1,42 @@ + "short_open_tag = On"'); + } +} + +// Check XML functions + +if (! function_exists('simplexml_load_string')) { + + die('PHP extension required: SimpleXML'); +} + +if (! function_exists('xml_parser_create')) { + + die('PHP extension required: XML Parser'); +} + +if (! function_exists('dom_import_simplexml')) { + + die('PHP extension required: DOM'); +} + +// Check if /data is writeable + +if (! is_writable('data')) { + + die('The directory "data" must be writeable by your web server user'); +} \ No newline at end of file diff --git a/miniflux/data/.htaccess b/miniflux/data/.htaccess index 3a42882..14249c5 100644 --- a/miniflux/data/.htaccess +++ b/miniflux/data/.htaccess @@ -1 +1 @@ -Deny from all +Deny from all \ No newline at end of file diff --git a/miniflux/templates/.htaccess b/miniflux/templates/.htaccess index 3a42882..14249c5 100644 --- a/miniflux/templates/.htaccess +++ b/miniflux/templates/.htaccess @@ -1 +1 @@ -Deny from all +Deny from all \ No newline at end of file diff --git a/miniflux/vendor/.htaccess b/miniflux/vendor/.htaccess index 3a42882..14249c5 100644 --- a/miniflux/vendor/.htaccess +++ b/miniflux/vendor/.htaccess @@ -1 +1 @@ -Deny from all +Deny from all \ No newline at end of file