nextcloud/lib
Lukas Reschke e867a7d54d 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-17 17:59:28 +01:00
..
composer Add composers default autoloader to core 2016-03-09 16:53:27 +01:00
l10n [tx-robot] updated from transifex 2016-03-16 01:55:43 -04:00
private Write .htaccess update only if not already written 2016-03-17 17:59:28 +01:00
public Replace unneded OC::needUpgrade with OCP method 2016-03-14 10:10:29 +01:00
autoloader.php Happy new year! 2016-01-12 15:02:18 +01:00
base.php Replace unneded OC::needUpgrade with OCP method 2016-03-14 10:10:29 +01:00