mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2026-03-14 20:55:50 +01:00
Update tinyfilemanager.php (#206)
FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant online_viewer - assumed 'online_viewer' (this will throw an Error in a future version of PHP) in /www/admin/index.php on line 1383
This commit is contained in:
parent
8b6a984864
commit
059c70e05e
1 changed files with 1 additions and 1 deletions
|
|
@ -1380,7 +1380,7 @@ if (isset($_GET['view'])) {
|
|||
$content = ''; // for text
|
||||
$online_viewer = strtolower($GLOBALS['online_viewer']);
|
||||
|
||||
if(online_viewer && online_viewer !== 'false' && in_array($ext, fm_get_onlineViewer_exts())){
|
||||
if($online_viewer && $online_viewer !== 'false' && in_array($ext, fm_get_onlineViewer_exts())){
|
||||
$is_onlineViewer = true;
|
||||
}
|
||||
elseif ($ext == 'zip' || $ext == 'tar') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue