diff --git a/lib/config.php b/lib/config.php
index 65f9fdc06baf13b74bfa55c2813cd0d0dfe58bde..266d559126ca86a38565d4b9f8fbd87d6d206085 100644
--- a/lib/config.php
+++ b/lib/config.php
@@ -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