mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-04 06:43:18 +02: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'
|
'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
|
// Enable highlight.js (https://highlightjs.org/) on view's page
|
||||||
$use_highlightjs = true;
|
$use_highlightjs = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue