mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
do not issue an error if access on library folder is forbitten
just disable the upload from the library folder
This commit is contained in:
parent
8a47cdd1da
commit
c6121ff201
|
@ -58,7 +58,8 @@ if($settings->_libraryFolder) {
|
|||
}
|
||||
|
||||
if ($libfolder->getAccessMode($user) < M_READ) {
|
||||
UI::exitError(getMLText("folder_title", array("foldername" => htmlspecialchars($libfolder->getName()))), getMLText("access_denied"));
|
||||
$libfolder = null;
|
||||
// UI::exitError(getMLText("folder_title", array("foldername" => htmlspecialchars($libfolder->getName()))), getMLText("access_denied"));
|
||||
}
|
||||
} else {
|
||||
$libfolder = null;
|
||||
|
|
Loading…
Reference in New Issue
Block a user