diff --git a/README.md b/README.md index 1fa71d6..af68405 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,22 @@ # Tiny File Manager - [![Live demo](https://img.shields.io/badge/Live-Demo-brightgreen.svg?style=flat-square)](https://tinyfilemanager.github.io/demo/) [![Live demo](https://img.shields.io/badge/Help-Docs-lightgrey.svg?style=flat-square)](https://github.com/prasathmani/tinyfilemanager/wiki) [![GitHub Release](https://img.shields.io/github/release/qubyte/rubidium.svg?style=flat-square)](https://github.com/prasathmani/tinyfilemanager/releases) - [![GitHub License](https://img.shields.io/github/license/prasathmani/tinyfilemanager.svg?style=flat-square)](https://github.com/prasathmani/tinyfilemanager/blob/master/LICENSE) +[![GitHub License](https://img.shields.io/github/license/prasathmani/tinyfilemanager.svg?style=flat-square)](https://github.com/prasathmani/tinyfilemanager/blob/master/LICENSE) [![Paypal](https://img.shields.io/badge/Donate-Paypal-lightgrey.svg?style=flat-square)](https://www.paypal.me/prasathmani) + > TinyFileManager is web based file manager and it is a simple, fast and small file manager with a single file, multi-language ready web application for storing, uploading, editing and managing files and folders online via web browser. The Application runs on PHP 5.5+, It allows the creation of multiple users and each user can have its own directory and a build-in support for managing text files with cloud9 IDE and it supports syntax highlighting for over 150+ languages and over 35+ themes. ## Demo + [Demo](https://tinyfilemanager.github.io/demo/) - Login Details : admin/admin@123 | user/12345 - +Login Details : admin/admin@123 | user/12345 ## Documentation -Tinyfilemanager is highly documented on the [wiki pages](https://github.com/prasathmani/tinyfilemanager/wiki). +Tinyfilemanager is highly documented on the [wiki pages](https://github.com/prasathmani/tinyfilemanager/wiki). [![Tiny File Manager](screenshot.gif)](screenshot.gif) @@ -38,6 +38,7 @@ Default username/password: **admin/admin@123** and **user/12345**. To enable/disable authentication set `$use_auth` to true or false. +:information_source: The default configuration will be loaded from `config.php`, it is an additional configuration file, Feel free to remove completely this file and configure "tinyfilemanager.php" as a single file application. ### :loudspeaker: Features @@ -52,12 +53,11 @@ To enable/disable authentication set `$use_auth` to true or false. - :pencil2: Cloud9 IDE - Syntax highlighting for over `150+` languages, Over `35+` themes with your favorite programming style - :page_facing_up: Google/Microsoft doc viewer helps you preview `PDF/DOC/XLS/PPT/etc`. 25 MB can be previewed with the Google Drive viewer - :zap: Backup files and IP blacklist and whitelist -- :mag_right: Search - Search and filter files using `datatable js` +- :mag_right: Search - Search and filter files using `datatable js` - :file_folder: Exclude folders and files from listing - :globe_with_meridians: Multi-language(20+) support and for translations `translation.json` is file required - :bangbang: lots more... - ### License, Credit - Available under the [GNU license](https://github.com/prasathmani/tinyfilemanager/blob/master/LICENSE) diff --git a/config.php b/config.php index ef6951f..d39387b 100644 --- a/config.php +++ b/config.php @@ -81,7 +81,7 @@ $allowed_upload_extensions = ''; // Favicon path. This can be either a full url to an .PNG image, or a path based on the document root. // full path, e.g http://example.com/favicon.png // local path, e.g images/icons/favicon.png -$favicon_path = '?img=favicon'; +$favicon_path = ''; // Files and folders to excluded from listing // e.g. array('myfile.html', 'personal-folder', '*.php', ...) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index df68f96..ee2c884 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -86,7 +86,7 @@ $allowed_upload_extensions = ''; // Favicon path. This can be either a full url to an .PNG image, or a path based on the document root. // full path, e.g http://example.com/favicon.png // local path, e.g images/icons/favicon.png -$favicon_path = '?img=favicon'; +$favicon_path = ''; // Files and folders to excluded from listing // e.g. array('myfile.html', 'personal-folder', '*.php', ...) @@ -236,11 +236,6 @@ if (isset($_GET['logout'])) { fm_redirect(FM_SELF_URL); } -// Show image here -if (isset($_GET['img'])) { - fm_show_image($_GET['img']); -} - // Validate connection IP if($ip_ruleset != 'OFF'){ $clientIp = $_SERVER['REMOTE_ADDR']; @@ -1181,7 +1176,7 @@ if (isset($_GET['upload']) && !FM_READONLY) {

- : + :

@@ -2047,7 +2042,6 @@ $tableTheme = (FM_THEME == "dark") ? "text-white bg-dark table-dark" : "bg-white '.fm_get_filesize($all_files_size).'' ?> '.$num_files.'' ?> '.$num_folders.'' ?> - '.fm_get_filesize(@memory_get_usage(true)).'' ?> '.fm_get_filesize(@disk_free_space($path)) .' '.lng('FreeOf').' '.fm_get_filesize(@disk_total_space($path)).''; ?> @@ -3402,7 +3396,7 @@ global $lang, $root_url, $favicon_path; - + '; } ?> <?php echo fm_enc(APP_TITLE) ?>