mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 05:31:42 +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) {
|
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 {
|
} else {
|
||||||
$libfolder = null;
|
$libfolder = null;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user