Lines Matching refs:file
66 $file = $basedir . DIRECTORY_SEPARATOR . $path;
70 if (is_file($file)) {
72 $this->forward_request($file);
74 $this->send_file($file);
81 private function send_file($file) { argument
85 $ext = strtolower(substr($file, strrpos($file, '.') + 1));
89 $type = mime_content_type($file);
93 header('Content-Length: ' . filesize($file));
96 readfile($file);
100 private function forward_request($file) { argument
102 require $file;