Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-06-14 13:05:12 +0400
committerLukas Reschke <lukas@statuscode.ch>2014-06-16 22:33:04 +0400
commitf2fc214ce0455ce9a9def36bd09285e82b5eabec (patch)
treead7dadfd6a39a6fed4df59c4fff17b734f432925 /.htaccess
parentc42d087fc5f13de7c388be6ff4edd18f3ff8fce2 (diff)
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--.htaccess3
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