]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not close php tag on config file
authorBrice Maron <brice@bmaron.net>
Fri, 22 Jun 2012 21:01:12 +0000 (21:01 +0000)
committerBrice Maron <brice@bmaron.net>
Fri, 22 Jun 2012 21:01:12 +0000 (21:01 +0000)
lib/config.php

index 65f9fdc06baf13b74bfa55c2813cd0d0dfe58bde..266d559126ca86a38565d4b9f8fbd87d6d206085 100644 (file)
@@ -157,7 +157,7 @@ class OC_Config{
                // Create a php file ...
                $content = "<?php\n\$CONFIG = ";
                $content .= var_export(self::$cache, true);
-               $content .= ";\n?>\n";
+               $content .= ";\n";
 
                $filename = OC::$SERVERROOT."/config/config.php";
                // Write the file