From 9cd4c99918c9a27504c1a8d7a613e95780e76bf3 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind1991@gmail.com>
Date: Sat, 22 Jan 2011 01:51:13 +0100
Subject: [PATCH] Add closing tag to config file.

patch by Debayan Banerjee
---
 inc/lib_config.php | 1 +
 1 file changed, 1 insertion(+)

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);
 	}
-- 
GitLab