diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-01-08 12:05:54 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-01-08 12:49:02 +0100 |
commit | 7fbb7f4dc4cd1918a5b3dfaa4c8dfb6a7e11d0c3 (patch) | |
tree | f3d82bd3c36d0cb3ddf6493702afedcefd951070 /.htaccess | |
parent | 14e534e93322d3ce3275f04657de40fcf34d61d9 (diff) | |
download | nextcloud-server-7fbb7f4dc4cd1918a5b3dfaa4c8dfb6a7e11d0c3.tar.gz nextcloud-server-7fbb7f4dc4cd1918a5b3dfaa4c8dfb6a7e11d0c3.zip |
Add version to .htaccess
Currently if a user does not replace the .htaccess file with the new update this can lead to serious problems in case Apache is used as webserver.
This commit adds the version to the .htaccess file and the update routine fails in case not the newest version is specified in there. This obviously means that every release has to update the version specified in .htaccess as well. But I see no better solution for it.
Conflicts:
lib/private/updater.php
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess index eef4ead0179..af7e961379c 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,4 @@ +# Version: 8.0.0 <IfModule mod_fcgid.c> <IfModule mod_setenvif.c> <IfModule mod_headers.c> |