Files
sb/files/config.php
T

87 lines
2.0 KiB
PHP

<?php
//Default Configuration
$CONFIG = '{"lang":"en","error_reporting":true,"show_hidden":false,"hide_Cols":false,"theme":"light"}';
/*
This is the configuration file for Tiny File Manager.
*/
// Auth with login/password
$use_auth = true;
// Login user name and password
// Generate secure password hash: https://tinyfilemanager.github.io/docs/pwd.html
$auth_users = array(
'SongBeamer' => '$2y$10$XfQEIPqhrDwVFkHB88VVxeaBvdBChio5RLdSFjv7kGNFDPuZppTW2', //NichtEinschlafen!2025?
'joelunger' => '$2y$10$/K.hjNr84lLNDt8fTXjoI.DBp6PpeyoJ.mGwrrLuCZfAwfSAGqhOW' //admin@123
);
// Readonly users
$readonly_users = array();
// Root path: the songs folder, one level up from this config file
$root_path = realpath(__DIR__ . '/songs');
// Root url (leave empty for auto-detect)
$root_url = '';
// Server hostname (auto-detect)
$http_host = $_SERVER['HTTP_HOST'];
// User-specific directories (relative to server root, auto-detected)
$directories_users = array();
// input encoding for iconv
$iconv_input_encoding = 'UTF-8';
// date() format for file modification date
$datetime_format = 'd.m.y H:i:s';
// Allowed file extensions for create and rename files
$allowed_file_extensions = '';
// Allowed file extensions for upload files
$allowed_upload_extensions = '';
// Favicon path
$favicon_path = '';
// Files and folders to excluded from listing
$exclude_items = array('');
// Online office Docs Viewer: 'google', 'microsoft' or false
$online_viewer = 'google';
// Sticky Nav bar
$sticky_navbar = true;
// Path display mode: 'full', 'relative', 'host'
$path_display_mode = 'relative';
// max upload file size (in bytes)
$max_upload_size_bytes = 5000000000; // 5 GB
// IP ruleset: 'OFF', 'AND' or 'OR'
$ip_ruleset = 'OFF';
$ip_silent = true;
$ip_whitelist = array(
'127.0.0.1',
'::1'
);
$ip_blacklist = array(
'0.0.0.0',
'::'
);
// highlight.js
$use_highlightjs = true;
$highlightjs_style = 'vs';
// ace.js editor
$edit_files = true;
// timezone
$default_timezone = 'Etc/UTC';
?>