summaryrefslogtreecommitdiffstats
path: root/lib/private/setup.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-02-28 13:32:09 +0100
committerLukas Reschke <lukas@statuscode.ch>2014-02-28 13:32:09 +0100
commitd1c04e113667c8f497c9dad7bc7feeddeaed5317 (patch)
tree076791712e0efd4b6e9ebeec5ce15504cb641352 /lib/private/setup.php
parent357fdb1a4df64864b2394d097b855fded1ce4756 (diff)
downloadnextcloud-server-d1c04e113667c8f497c9dad7bc7feeddeaed5317.tar.gz
nextcloud-server-d1c04e113667c8f497c9dad7bc7feeddeaed5317.zip
Typo + use regular assignment
Diffstat (limited to 'lib/private/setup.php')
-rw-r--r--lib/private/setup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/setup.php b/lib/private/setup.php
index 25e536543f4..65f295ee347 100644
--- a/lib/private/setup.php
+++ b/lib/private/setup.php
@@ -123,10 +123,10 @@ class OC_Setup {
* Append the correct ErrorDocument path for Apache hosts
*/
public static function updateHtaccess() {
- $content.= "\n";
+ $content = "\n";
$content.= "ErrorDocument 403 ".OC::$WEBROOT."/core/templates/403.php\n";//custom 403 error page
$content.= "ErrorDocument 404 ".OC::$WEBROOT."/core/templates/404.php";//custom 404 error page
- @file_put_contents(OC::$SERVERROOT.'/.htaccess', $content, FILE_APPEND); //supress errors in case we don't have permissions for it
+ @file_put_contents(OC::$SERVERROOT.'/.htaccess', $content, FILE_APPEND); //suppress errors in case we don't have permissions for it
}
public static function protectDataDirectory() {