瀏覽代碼

Fix php interpretation in configure.phtml file

See https://github.com/FreshRSS/FreshRSS/issues/252
Marien Fressinaud 11 年之前
父節點
當前提交
251d5a78ce
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      lib/Minz/Extension.php

+ 4 - 1
lib/Minz/Extension.php

@@ -97,7 +97,10 @@ class Minz_Extension {
 		if (!file_exists($filename)) {
 			return false;
 		}
-		return @file_get_contents($filename);
+
+		ob_start();
+		include($filename);
+		return ob_get_clean();
 	}
 
 	/**