owncloud/core — pull request #147 by LukasReschke (2012-10-29 21:04:25+00:00)
Title: Generate .htaccess when upgrading from old versions

When upgrading from old ownCloud versions like 2.x the .htaccess is not generated - which exposes the data to the internet. This fix will generate a .htaccess when upgrading.
Fixes #127

Please review this change.