X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Fsmarty%2Flibs%2Fplugins%2Ffunction.fetch.php;h=81b1bfc6b9a03f916fcdb62209f6f458c5e712e5;hb=38927c4d48865f73d1b965f1a07c76efe4339a9a;hp=fb5daec20557346b3cfc3448241cb0f20efad7ae;hpb=e034221efbc7970ec58be22d7517fd3c503dc903;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/smarty/libs/plugins/function.fetch.php b/wwwroot/smarty/libs/plugins/function.fetch.php index fb5daec..81b1bfc 100644 --- a/wwwroot/smarty/libs/plugins/function.fetch.php +++ b/wwwroot/smarty/libs/plugins/function.fetch.php @@ -14,6 +14,7 @@ * Purpose: fetch file, web or ftp data and display results * @link http://smarty.php.net/manual/en/language.function.fetch.php {fetch} * (Smarty online manual) + * @author Monte Ohrt * @param array * @param Smarty * @return string|null if the assign parameter is passed, Smarty assigns the @@ -34,7 +35,7 @@ function smarty_function_fetch($params, &$smarty) $smarty->_trigger_fatal_error('[plugin] (secure mode) fetch \'' . $params['file'] . '\' is not allowed'); return; } - + // fetch the file if($fp = @fopen($params['file'],'r')) { while(!feof($fp)) {