i try to read external data with file_get_contents with smarty
However, i get this error.
Fatal error: Smarty error: [in /opt/lampp/htdocs/blog/serendipity/templates/templates3/index.tpl line 107]: [plugin] (secure mode) modifier 'file_get_contents' is not allowed (Smarty_Compiler.class.php, line 1934) in /opt/lampp/htdocs/blog/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1093
Is there any other way to get data?Or how can i allow smarty to use this function?
Maybe the {fetch} plugin can be of help here. In any case, @shadyyx isn’t wrong. You might just want to assign the contents and make your life simpler.