From 5f82811ab35bbd5fac0d5a671c874398071ac55d Mon Sep 17 00:00:00 2001 From: Dan Q Date: Thu, 12 Aug 2021 09:04:14 +0100 Subject: [PATCH] Add getDirForEmail to perform realPath filtering in core --- web/inc/core.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/web/inc/core.php b/web/inc/core.php index e6593ea..2e4ba23 100644 --- a/web/inc/core.php +++ b/web/inc/core.php @@ -1,5 +1,10 @@ $json['parsed']['from'],'subject'=>$json['parsed']['subject']); } } @@ -66,4 +71,4 @@ function loadSettings() if(file_exists(ROOT.DS.'..'.DS.'config.ini')) return parse_ini_file(ROOT.DS.'..'.DS.'config.ini'); return false; -} \ No newline at end of file +}