aboutsummaryrefslogtreecommitdiff
path: root/include/file-get.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/file-get.php')
-rw-r--r--include/file-get.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/file-get.php b/include/file-get.php
index b3f575d..c04b378 100644
--- a/include/file-get.php
+++ b/include/file-get.php
@@ -24,7 +24,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-require_once('./conf.php');
+require_once(__DIR__ . '/../conf.php');
$filename = $_REQUEST['name'];
$filepath = Constants::files_folder . $filename;