aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-base/www/policy/private
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/mayor-base/www/policy/private')
-rw-r--r--mayor-orig/mayor-base/www/policy/private/session/download-pre.php2
1 files changed, 1 insertions, 1 deletions
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