'2dec275bccca790ef3646d704b195f5e', // 'avinash' => '067ca6a563414a97ad8608e706c38386', ); // Readonly users (usernames array) $readonly_users = array( 'user' ); $show_hidden_files = false; $use_highlightjs = true; $highlightjs_style = 'vs'; $edit_files = true; $send_mail = false; $toMailId = ""; //yourmailid@mail.com $default_timezone = 'Asia/Kolkata'; // UTC $root_path = $_SERVER['DOCUMENT_ROOT'].'/blog'; // Root url for links in file manager.Relative to $http_host. Variants: '', 'path/to/subfolder' // Will not working if $root_path will be outside of server document root $root_url = '/blog'; // Server hostname. Can set manually if wrong $http_host = $_SERVER['HTTP_HOST']; // input encoding for iconv $iconv_input_encoding = 'UTF-8'; // date() format for file modification date $datetime_format = 'd.m.y H:i'; // allowed upload file extensions $upload_extensions = ''; // 'gif,png,jpg' // show or hide the left side tree view $show_tree_view = true; //Array of folders excluded from listing $GLOBALS['exclude_folders'] = array( ); // include user config php file if (defined('FM_CONFIG') && is_file(FM_CONFIG) ) { include(FM_CONFIG); } //--- EDIT BELOW CAREFULLY OR DO NOT EDIT AT ALL session_start(); if(isset($_GET['toggleTree'])) { if ($_SESSION['treeHide'] == 'false') { $_SESSION['treeHide'] = 'true'; } else { $_SESSION['treeHide'] = 'false'; } } // if fm included if (defined('FM_EMBED')) { $use_auth = false; } else { @set_time_limit(600); date_default_timezone_set($default_timezone); ini_set('default_charset', 'UTF-8'); if (version_compare(PHP_VERSION, '5.6.0', '<') && function_exists('mb_internal_encoding')) { mb_internal_encoding('UTF-8'); } if (function_exists('mb_regex_encoding')) { mb_regex_encoding('UTF-8'); } // session_cache_limiter(''); // session_name('filemanager'); // session_start(); } if (empty($auth_users)) { $use_auth = false; } $is_https = isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on' || $_SERVER['HTTPS'] == 1) || isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'; // clean and check $root_path $root_path = rtrim($root_path, '\\/'); $root_path = str_replace('\\', '/', $root_path); if (!@is_dir($root_path)) { echo "
Destination folder:
""
Full path:
File size: = 1000): ?> ()
MIME-type:
Files in archive:
Total size:
Size in archive:
Compression: %
';
}
// Text info
if ($is_text) {
$is_utf8 = fm_is_utf8($content);
if (function_exists('iconv')) {
if (!$is_utf8) {
$content = iconv(FM_ICONV_INPUT_ENC, 'UTF-8//IGNORE', $content);
}
}
echo 'Charset: ' . ($is_utf8 ? 'utf-8' : '8 bit') . '
';
}
?>
Open UnZip UnZip to folder Edit Mail Back
'; foreach ($filenames as $fn) { if ($fn['folder']) { echo '' . fm_enc($fn['name']) . 'Error while fetching archive info
'; } } elseif ($is_image) { // Image content if (in_array($ext, array('gif', 'jpg', 'jpeg', 'png', 'bmp', 'ico'))) { echo '' . fm_enc($content) . '
';
} elseif (in_array($ext, array('php', 'php4', 'php5', 'phtml', 'phps'))) {
// php highlight
$content = highlight_string($content, true);
} else {
$content = '' . fm_enc($content) . ''; } echo $content; } ?>
Change Permissions'; ?>