diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-06-14 11:05:12 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-06-16 20:33:04 +0200 |
commit | f2fc214ce0455ce9a9def36bd09285e82b5eabec (patch) | |
tree | ad7dadfd6a39a6fed4df59c4fff17b734f432925 /.htaccess | |
parent | c42d087fc5f13de7c388be6ff4edd18f3ff8fce2 (diff) | |
download | nextcloud-server-f2fc214ce0455ce9a9def36bd09285e82b5eabec.tar.gz nextcloud-server-f2fc214ce0455ce9a9def36bd09285e82b5eabec.zip |
Add deprecation notice to load* functions
This functions are deprecated and/or removed since ownCloud 7. Additionally a issubdirectory check has been added here to prevent developers to use this function in a potentially insecure way.
Port of https://github.com/owncloud/core/pull/9033
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess index ee4d5af1d85..f34dd9d66b1 100644 --- a/.htaccess +++ b/.htaccess @@ -38,3 +38,6 @@ Options -Indexes <IfModule pagespeed_module> ModPagespeed Off </IfModule> + +ErrorDocument 403 /core/core/templates/403.php +ErrorDocument 404 /core/core/templates/404.php
\ No newline at end of file |