From 351ace3031cf063cef346027ae209d218225242a Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Tue, 24 Mar 2020 15:53:18 +0100 Subject: Rev: 4632 --- mayor-orig/mayor-base/www/policy/parent/session/download-pre.php | 1 + mayor-orig/mayor-base/www/policy/parent/session/download.php | 1 + mayor-orig/mayor-base/www/policy/private/session/download-pre.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 120000 mayor-orig/mayor-base/www/policy/parent/session/download-pre.php create mode 120000 mayor-orig/mayor-base/www/policy/parent/session/download.php (limited to 'mayor-orig/mayor-base/www/policy') diff --git a/mayor-orig/mayor-base/www/policy/parent/session/download-pre.php b/mayor-orig/mayor-base/www/policy/parent/session/download-pre.php new file mode 120000 index 00000000..2b5f8422 --- /dev/null +++ b/mayor-orig/mayor-base/www/policy/parent/session/download-pre.php @@ -0,0 +1 @@ +../../private/session/download-pre.php \ No newline at end of file diff --git a/mayor-orig/mayor-base/www/policy/parent/session/download.php b/mayor-orig/mayor-base/www/policy/parent/session/download.php new file mode 120000 index 00000000..2cff0143 --- /dev/null +++ b/mayor-orig/mayor-base/www/policy/parent/session/download.php @@ -0,0 +1 @@ +../../private/session/download.php \ No newline at end of file diff --git a/mayor-orig/mayor-base/www/policy/private/session/download-pre.php b/mayor-orig/mayor-base/www/policy/private/session/download-pre.php index 6b396143..1fdd916f 100644 --- a/mayor-orig/mayor-base/www/policy/private/session/download-pre.php +++ b/mayor-orig/mayor-base/www/policy/private/session/download-pre.php @@ -26,7 +26,7 @@ // Jogosultságok ellenőzése dir alapján if (__DIAK===true) { - if (strstr($dir,'naplo/face/')===false) return false; + if (strstr($dir,'naplo/face/')===false && strstr($dir,'naplo/haladasi/hazifeladat')===false) return false; } // Titkarsag, Tanar, Naploadmin letoltheti, amit szeretne -- cgit v1.2.3