Index: phpDocumentor/Smarty-2.6.0/libs/plugins/function.fetch.php
===================================================================
--- phpDocumentor/Smarty-2.6.0/libs/plugins/function.fetch.php (revision 284238)
+++ phpDocumentor/Smarty-2.6.0/libs/plugins/function.fetch.php (working copy)
@@ -177,12 +177,12 @@
$content .= fgets($fp,4096);
}
fclose($fp);
- $csplit = split("\r\n\r\n",$content,2);
+ $csplit = explode("\r\n\r\n", $content, 2);
$content = $csplit[1];
if(!empty($params['assign_headers'])) {
- $smarty->assign($params['assign_headers'],split("\r\n",$csplit[0]));
+ $smarty->assign($params['assign_headers'], explode("\r\n", $csplit[0]));
}
}
} else {