nextcloud/lib
Lukas Reschke 1fdf790c8f Write .htaccess update only if not already written
The ownCloud update routine also runs the "updateHtaccess" code in case only an application gets updated. This leads to having entries multiple time in the .htaccess file leading to unpredictable behaviour.

With 9.0 we added the "#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####" entry to the .htaccess file, this change uses it to ensure that only to the .htaccess gets written if the file has not been modified already. Since the .htaccess modifications are optional this is not a big deal.

Without this change updates of applications can break the rewrite rules (ending in endless redirects) as well as breaking the code integrity checker.
2016-03-18 09:18:46 +01:00
..
l10n [tx-robot] updated from transifex 2016-03-01 01:55:33 -05:00
private Write .htaccess update only if not already written 2016-03-18 09:18:46 +01:00
public Revert "No longer evaluate appinfo/version" 2016-03-03 18:42:23 +01:00
autoloader.php Happy new year! 2016-01-12 15:02:18 +01:00
base.php Merge pull request #22943 from owncloud/backport-22800-stable9 2016-03-14 16:15:50 +01:00