]> source.dussan.org Git - nextcloud-server.git/commitdiff
Typo + use regular assignment
authorLukas Reschke <lukas@statuscode.ch>
Fri, 28 Feb 2014 12:32:09 +0000 (13:32 +0100)
committerLukas Reschke <lukas@statuscode.ch>
Fri, 28 Feb 2014 12:32:09 +0000 (13:32 +0100)
lib/private/setup.php

index 25e536543f4d55087c4a9cd02c9e59689f742c0b..65f295ee347d91b36537e22b4128e27af6d552c8 100644 (file)
@@ -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() {