| [ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
DokuWiki media passthrough file
| Author: | Andreas Gohr |
| License: | GPL 2 (http://www.gnu.org/licenses/gpl.html) |
| File Size: | 205 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 3 times |
| Includes or requires: | 1 file inc/init.php |
| sendFile($file,$mime,$dl,$cache) X-Ref |
| Set headers and send the file to the client author: Andreas Gohr <andi@splitbrain.org> author: Ben Coburn <btcoburn@silicodon.net> |
| checkFileStatus(&$media, &$file, $rev='') X-Ref |
| Check for media for preconditions and return correct status code READ: MEDIA, MIME, EXT, CACHE WRITE: MEDIA, FILE, array( STATUS, STATUSMESSAGE ) returns: array(STATUS, STATUSMESSAGE) author: Gerry Weissbach <gerry.w@gammaproduction.de> param: $media reference to the media id param: $file reference to the file variable |
| calc_cache($cache) X-Ref |
| Returns the wanted cachetime in seconds Resolves named constants author: Andreas Gohr <andi@splitbrain.org> |
| Generated: Wed May 23 03:00:10 2012 | Cross-referenced by PHPXref 0.7 |