From 535124cacc6a74cf63308870615b678be0a67a72 Mon Sep 17 00:00:00 2001 From: kacchan-w <47267764+kacchan-w@users.noreply.github.com> Date: Sun, 10 Feb 2019 00:18:27 +0900 Subject: [PATCH] proxy - Fixed full path to relative path. --- lib/proxy/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +// }