X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FStreamFile.php;h=b0e6c12ec2967b8d01971ae9f581dada2c523733;hb=a00e7e7c1d79c29dc723b02ea1228d46d0efe5bc;hp=95c69a20b67240473052c9722357175ae9985685;hpb=550f4992e1a3c1283975f681277950427a190b83;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/StreamFile.php b/includes/StreamFile.php index 95c69a20b6..b0e6c12ec2 100644 --- a/includes/StreamFile.php +++ b/includes/StreamFile.php @@ -35,6 +35,7 @@ class StreamFile { * @param $fname string Full name and path of the file to stream * @param $headers array Any additional headers to send * @param $sendErrors bool Send error messages if errors occur (like 404) + * @throws MWException * @return bool Success */ public static function stream( $fname, $headers = array(), $sendErrors = true ) {