mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2025-01-17 22:28:34 +01:00
Add Global Readonly (#158)
Added a global readonly variable that will force readonly mode both when not using the auth system and for all users if the auth system is being used. Co-authored-by: Prasath Mani <prasathmani@users.noreply.github.com>
This commit is contained in:
parent
bb1d1d3801
commit
ad30a3a1f3
@ -36,6 +36,13 @@ $readonly_users = array(
|
||||
'user'
|
||||
);
|
||||
|
||||
// Global readonly, including when auth is not being used
|
||||
$global_readonly = false;
|
||||
|
||||
// user specific directories
|
||||
// array('Username' => 'Directory path', 'Username2' => 'Directory path', ...)
|
||||
$directories_users = array();
|
||||
|
||||
// Enable highlight.js (https://highlightjs.org/) on view's page
|
||||
$use_highlightjs = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user