i-have-no-idea-for-a-username commited on
Commit
70a39c9
·
verified ·
1 Parent(s): 63e7ef0

Update tinyfilemanager.php

Browse files
Files changed (1) hide show
  1. tinyfilemanager.php +4 -5
tinyfilemanager.php CHANGED
@@ -13,14 +13,14 @@ $CONFIG = '{"lang":"en","error_reporting":false,"show_hidden":true,"hide_Cols":f
13
  define('VERSION', '2.5.3');
14
 
15
  //Application Title
16
- define('APP_TITLE', 'File Manager');
17
 
18
  // --- EDIT BELOW CONFIGURATION CAREFULLY ---
19
 
20
  // Auth with login/password
21
  // set true/false to enable/disable it
22
  // Is independent from IP white- and blacklisting
23
- $use_auth = true;
24
 
25
  // Login user name and password
26
  // Users: array('Username' => 'Password', 'Username2' => 'Password2', ...)
@@ -84,7 +84,7 @@ $path_display_mode = 'full';
84
  $allowed_file_extensions = '';
85
 
86
  // Allowed file extensions for upload files
87
- // e.g. 'gif,png,jpg,html,txt'
88
  $allowed_upload_extensions = '';
89
 
90
  // Favicon path. This can be either a full url to an .PNG image, or a path based on the document root.
@@ -94,8 +94,7 @@ $favicon_path = '';
94
 
95
  // Files and folders to excluded from listing
96
  // e.g. array('myfile.html', 'personal-folder', '*.php', ...)
97
- $exclude_items = array();
98
-
99
  // Online office Docs Viewer
100
  // Available rules are 'google', 'microsoft' or false
101
  // Google => View documents using Google Docs Viewer
 
13
  define('VERSION', '2.5.3');
14
 
15
  //Application Title
16
+ define('APP_TITLE', 'Collaborative File Manager');
17
 
18
  // --- EDIT BELOW CONFIGURATION CAREFULLY ---
19
 
20
  // Auth with login/password
21
  // set true/false to enable/disable it
22
  // Is independent from IP white- and blacklisting
23
+ $use_auth = false;
24
 
25
  // Login user name and password
26
  // Users: array('Username' => 'Password', 'Username2' => 'Password2', ...)
 
84
  $allowed_file_extensions = '';
85
 
86
  // Allowed file extensions for upload files
87
+ // e.g. 'gif,png,jpg,html,txt,bmp,css,js'
88
  $allowed_upload_extensions = '';
89
 
90
  // Favicon path. This can be either a full url to an .PNG image, or a path based on the document root.
 
94
 
95
  // Files and folders to excluded from listing
96
  // e.g. array('myfile.html', 'personal-folder', '*.php', ...)
97
+ $exclude_items = array('index.php'); // don't you dare to take it over
 
98
  // Online office Docs Viewer
99
  // Available rules are 'google', 'microsoft' or false
100
  // Google => View documents using Google Docs Viewer