diff --git a/lib/proxy/index.php b/lib/proxy/index.php index 8c9597e..83be3fd 100644 --- a/lib/proxy/index.php +++ b/lib/proxy/index.php @@ -4,7 +4,7 @@ - $fullFilename = '/var/www/wiki/data/media' . $_REQUEST['url']; + $fullFilename = '../../../../../data/media' . $_REQUEST['url']; $content = file_get_contents($fullFilename); echo $content; @@ -46,4 +46,4 @@ // $header['errmsg'] = $errmsg; // $header['content'] = $content; // return $header; -// } \ No newline at end of file +// }