Revision 1161
Added by Dietmar over 14 years ago
config.php | ||
---|---|---|
29 | 29 |
// authenticated users can access this file or use some kind of session checking. |
30 | 30 |
$Config['Enabled'] = false ; |
31 | 31 |
|
32 |
/**
|
|
32 |
/** |
|
33 | 33 |
SECURITY PATCH FOR WEBSITE BAKER (doc) |
34 | 34 |
only enable PHP connector if user is authenticated to WB |
35 | 35 |
and has at least permissions to view the WB MEDIA folder |
... | ... | |
76 | 76 |
// What the user can do with this connector. |
77 | 77 |
// $Config['ConfigAllowedCommands'] = array('QuickUpload', 'FileUpload', 'GetFolders', 'GetFoldersAndFiles', 'CreateFolder') ; |
78 | 78 |
|
79 |
/**
|
|
80 |
Check WB permissions of the user/group for the MEDIA folder and
|
|
81 |
enable only those FCKEditor commands the user has permissions for
|
|
79 |
/** |
|
80 |
Check WB permissions of the user/group for the MEDIA folder and |
|
81 |
enable only those FCKEditor commands the user has permissions for |
|
82 | 82 |
*/ |
83 | 83 |
// check if user is allowed to upload files to the media directory |
84 | 84 |
if(($admin->get_permission('media_upload') === true)) { |
... | ... | |
227 | 227 |
$Config['QuickUploadPath']['Media'] = $Config['UserFilesPath'] ; |
228 | 228 |
$Config['QuickUploadAbsolutePath']['Media'] = $Config['UserFilesAbsolutePath'] ; |
229 | 229 |
|
230 |
?>
|
|
230 |
?> |
Also available in: Unified diff
new update FCKeditor to Version 2.6.5 Modulversion 2.9.1