diff options
| author | 2014-12-18 13:57:25 +0100 | |
|---|---|---|
| committer | 2014-12-18 13:57:25 +0100 | |
| commit | 251d5a78ce893676c7e32e2a85c9ba45775a72bf (patch) | |
| tree | 5a18d1576a77b3edf3eb7174789fbd6ff463906d /lib/Minz/Extension.php | |
| parent | 04b9bd0b496994bed978e8bf772e83a181429ff1 (diff) | |
Fix php interpretation in configure.phtml file
See https://github.com/FreshRSS/FreshRSS/issues/252
Diffstat (limited to 'lib/Minz/Extension.php')
| -rw-r--r-- | lib/Minz/Extension.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Minz/Extension.php b/lib/Minz/Extension.php index 1d706ed80..e7b38448f 100644 --- a/lib/Minz/Extension.php +++ b/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(); } /** |
