commit | 29947ee882a8d519d62ca9061ed6513cedfb1930 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Tue Nov 12 18:36:46 2013 +0200 |
committer | Andrey Andreev <narf@devilix.net> | Tue Nov 12 18:36:46 2013 +0200 |
tree | 5b286eac943bf07f78649bac1e9185e8de6b622d | |
parent | f964b16f3db95d655420dfae2012ee9fbb98a1a8 [diff] [blame] |
Add CLI error templates and only send HTTP status headers for non-CLI requests (issue #1743)
diff --git a/application/views/errors/cli/index.html b/application/views/errors/cli/index.html new file mode 100644 index 0000000..c942a79 --- /dev/null +++ b/application/views/errors/cli/index.html
@@ -0,0 +1,10 @@ +<html> +<head> + <title>403 Forbidden</title> +</head> +<body> + +<p>Directory access is forbidden.</p> + +</body> +</html> \ No newline at end of file