mirror of
https://github.com/YunoHost-Apps/tinyfilemanager_ynh.git
synced 2024-09-03 20:36:01 +02:00
Update config.php
This commit is contained in:
parent
d78e9ac8b3
commit
567cdfe729
1 changed files with 3 additions and 5 deletions
|
@ -20,21 +20,19 @@ $use_auth = true;
|
||||||
// Users: array('Username' => 'Password', 'Username2' => 'Password2', ...)
|
// Users: array('Username' => 'Password', 'Username2' => 'Password2', ...)
|
||||||
// Generate secure password hash - https://tinyfilemanager.github.io/docs/pwd.html
|
// Generate secure password hash - https://tinyfilemanager.github.io/docs/pwd.html
|
||||||
$auth_users = array(
|
$auth_users = array(
|
||||||
'yunoadmin' => password_hash('password_here', PASSWORD_DEFAULT), // change yunoadmin and password_here
|
'__ADMIN__' => password_hash('__PASSWORD__', PASSWORD_DEFAULT), // change yunoadmin and password_here
|
||||||
);
|
);
|
||||||
|
|
||||||
// Readonly users
|
// Readonly users
|
||||||
// e.g. array('users', 'guest', ...)
|
// e.g. array('users', 'guest', ...)
|
||||||
$readonly_users = array(
|
$readonly_users = array();
|
||||||
'user'
|
|
||||||
);
|
|
||||||
|
|
||||||
// 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;
|
||||||
|
|
||||||
// highlight.js style
|
// highlight.js style
|
||||||
// for dark theme use 'ir-black'
|
// for dark theme use 'ir-black'
|
||||||
$highlightjs_style = 'vs';
|
$highlightjs_style = 'ir-black';
|
||||||
|
|
||||||
// Enable ace.js (https://ace.c9.io/) on view's page
|
// Enable ace.js (https://ace.c9.io/) on view's page
|
||||||
$edit_files = true;
|
$edit_files = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue