diff --git a/config-sample.php b/config.php similarity index 78% rename from config-sample.php rename to config.php index c75b9a9..abbdf8d 100644 --- a/config-sample.php +++ b/config.php @@ -20,14 +20,27 @@ $use_auth = true; // Users: array('Username' => 'Password', 'Username2' => 'Password2', ...) // Generate secure password hash - https://tinyfilemanager.github.io/docs/pwd.html $auth_users = array( - 'admin' => '$2y$10$/K.hjNr84lLNDt8fTXjoI.DBp6PpeyoJ.mGwrrLuCZfAwfSAGqhOW', //admin@123 - 'user' => '$2y$10$Fg6Dz8oH9fPoZ2jJan5tZuv6Z4Kp7avtQ9bDfrdRntXtPeiMAZyGO' //12345 + 'recox' => '$2y$10$9WBeaacPPHQ9hrCErO.0p.zZFANR2hAaunMaivBSKWyFMzNRfBc9i', + 'jopi' => '$2y$10$Fg6Dz8oH9fPoZ2jJan5tZuv6Z4Kp7avtQ9bDfrdRntXtPeiMAZyGO', + 'wyrox' => '$2y$10$hGwYApvN9TO8DHCnqM5rXeXeEJDMm5MD5Xa9l9T4SA47anEobs0By', + 'simp' => '$2y$10$gIHw2ybKo6mvsZ8Z/k3FzuYvNIV0DnOzihjbFlqgFEFpIl3dh4t4u', + 'haracin' => '$2y$10$1N9vyknVQcKlPZDXKjhUK.h7srnK.cjfgVj5O6Nrnt10yKrg5jqYK', + 'vancleff' => '$2y$10$pNkLwl4FWEeOmw2s5AwVKe7CpB3mfZTXM5TxMF6tJx8xGEEKbCEWi', + 'emancu' => '$2y$10$DZcuVNB.klAFWo4N0AbJe.xtphdrI2hp1PJYOywcMC.oBSDcnoL.6', + 'ronin' => '$2y$10$zvyW4i.058EtyqQXVOLRROu3f1sEfyi1/G8F71sSQu8paMkgaI5GS', + 'reyarb' => '$2y$10$4X3gqurnA7KmcybjbqWAOu31Ntg6mjB8q669IP/waEGtegISwpm3G', + 'MartinTrionfetti' => '$2y$10$GeoDYYo43edC9FmN2ZmygePg2J2l7YLYOGl9JBZztxdI/W5ROpPKu', + 'ronin' => '$2y$10$C0JNU8RK8GDp1OLOyFWuLOLa4B7/nqcYIhVf0rNyGcnGD7uQNE1SC' ); +//set application theme +//options - 'light' and 'dark' +$theme = 'dark'; + // Readonly users // e.g. array('users', 'guest', ...) $readonly_users = array( - 'user' + 'MartinTrionfetti', 'ronin', 'vancleff', 'emancu', 'jopi', 'wyrox', 'simp', 'haracin', 'reyarb', 'emancu' ); // Enable highlight.js (https://highlightjs.org/) on view's page diff --git a/tinyfilemanager.php b/index.php similarity index 99% rename from tinyfilemanager.php rename to index.php index d0fe6db..9f663a9 100644 --- a/tinyfilemanager.php +++ b/index.php @@ -12,7 +12,7 @@ $CONFIG = '{"lang":"en","error_reporting":false,"show_hidden":false,"hide_Cols": define('VERSION', '2.4.6'); //Application Title -define('APP_TITLE', 'Tiny File Manager'); +define('APP_TITLE', 'AO20 LOGS'); // --- EDIT BELOW CONFIGURATION CAREFULLY --- @@ -1691,6 +1691,7 @@ if (isset($_GET['view'])) { 'phtml' => 'php', 'lock' => 'json', 'svg' => 'xml', + 'log' => 'php', ); $hljs_class = isset($hljs_classes[$ext]) ? 'lang-' . $hljs_classes[$ext] : 'lang-' . $ext; if (empty($ext) || in_array(strtolower($file), fm_get_text_names()) || preg_match('#\.min\.(css|js)$#i', $file)) { @@ -3345,6 +3346,10 @@ function fm_show_nav_path($path) + + Actualizar Logs Test + Actualizar Logs Prod +