From f2fc214ce0455ce9a9def36bd09285e82b5eabec Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sat, 14 Jun 2014 11:05:12 +0200 Subject: 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 --- .htaccess | 3 +++ 1 file changed, 3 insertions(+) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index ee4d5af1d85..f34dd9d66b1 100644 --- a/.htaccess +++ b/.htaccess @@ -38,3 +38,6 @@ Options -Indexes ModPagespeed Off + +ErrorDocument 403 /core/core/templates/403.php +ErrorDocument 404 /core/core/templates/404.php \ No newline at end of file -- cgit v1.2.3