diff --git a/inc/lib_config.php b/inc/lib_config.php index 6863146cde9..75ddaafc316 100644 --- a/inc/lib_config.php +++ b/inc/lib_config.php @@ -134,6 +134,7 @@ class OC_CONFIG{ $configContent .= "\n\$CONFIG_$key = $value;"; // e.g. $CONFIG_PI = 3.14; } } + $configContent .= "\n?>"; $filename = "$SERVERROOT/config/config.php"; file_put_contents($filename, $configContent); }