'$2y$12$6iyKwObB3zokmhwUuBhXxuB3/ZenHS4aosToHJJK0Yl3JgY1S80sy',
);
// Readonly users
// e.g. array('users', 'guest', ...)
$readonly_users = array(
'user'
);
// Global readonly, including when auth is not being used
$global_readonly = false;
// user specific directories
// array('Username' => 'Directory path', 'Username2' => 'Directory path', ...)
$directories_users = array();
// Enable highlight.js (https://highlightjs.org/) on view's page
$use_highlightjs = true;
// highlight.js style
// for dark theme use 'ir-black'
$highlightjs_style = 'vs';
// Enable ace.js (https://ace.c9.io/) on view's page
$edit_files = true;
// Default timezone for date() and time()
// Doc - http://php.net/manual/en/timezones.php
$default_timezone = 'Etc/UTC'; // UTC
// Root path for file manager
// use absolute path of directory i.e: '/var/www/folder' or $_SERVER['DOCUMENT_ROOT'].'/folder'
$root_path = $_SERVER['DOCUMENT_ROOT'];
// 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 = '';
// Server hostname. Can set manually if wrong
// $_SERVER['HTTP_HOST'].'/folder'
$http_host = $_SERVER['HTTP_HOST'];
// input encoding for iconv
$iconv_input_encoding = 'UTF-8';
// date() format for file modification date
// Doc - https://www.php.net/manual/en/function.date.php
$datetime_format = 'm/d/Y g:i A';
// Path display mode when viewing file information
// 'full' => show full path
// 'relative' => show path relative to root_path
// 'host' => show path on the host
$path_display_mode = 'full';
// Allowed file extensions for create and rename files
// e.g. 'txt,html,css,js'
$allowed_file_extensions = '';
// Allowed file extensions for upload files
// e.g. 'gif,png,jpg,html,txt'
$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 = '';
// Files and folders to excluded from listing
// e.g. array('myfile.html', 'personal-folder', '*.php', ...)
$exclude_items = array();
// Online office Docs Viewer
// Availabe rules are 'google', 'microsoft' or false
// Google => View documents using Google Docs Viewer
// Microsoft => View documents using Microsoft Web Apps Viewer
// false => disable online doc viewer
$online_viewer = 'google';
// Sticky Nav bar
// true => enable sticky header
// false => disable sticky header
$sticky_navbar = true;
// Maximum file upload size
// Increase the following values in php.ini to work properly
// memory_limit, upload_max_filesize, post_max_size
$max_upload_size_bytes = 5000000000; // size 5,000,000,000 bytes (~5GB)
// chunk size used for upload
// eg. decrease to 1MB if nginx reports problem 413 entity too large
$upload_chunk_size_bytes = 2000000; // chunk size 2,000,000 bytes (~2MB)
// Possible rules are 'OFF', 'AND' or 'OR'
// OFF => Don't check connection IP, defaults to OFF
// AND => Connection must be on the whitelist, and not on the blacklist
// OR => Connection must be on the whitelist, or not on the blacklist
$ip_ruleset = 'OFF';
// Should users be notified of their block?
$ip_silent = true;
// IP-addresses, both ipv4 and ipv6
$ip_whitelist = array(
'127.0.0.1', // local ipv4
'::1' // local ipv6
);
// IP-addresses, both ipv4 and ipv6
$ip_blacklist = array(
'0.0.0.0', // non-routable meta ipv4
'::' // non-routable meta ipv6
);
// if User has the external config file, try to use it to override the default config above [config.php]
// sample config - https://tinyfilemanager.github.io/config-sample.txt
$config_file = __DIR__.'/config.php';
if (is_readable($config_file)) {
@include($config_file);
}
// External CDN resources that can be used in the HTML (replace for GDPR compliance)
$external = array(
'css-bootstrap' => '',
'css-dropzone' => '',
'css-font-awesome' => '',
'css-highlightjs' => '',
'js-ace' => '',
'js-bootstrap' => '',
'js-dropzone' => '',
'js-jquery' => '',
'js-jquery-datatables' => '',
'js-highlightjs' => '',
'pre-jsdelivr' => '',
'pre-cloudflare' => ''
);
// --- EDIT BELOW CAREFULLY OR DO NOT EDIT AT ALL ---
// max upload file size
define('MAX_UPLOAD_SIZE', $max_upload_size_bytes);
// upload chunk size
define('UPLOAD_CHUNK_SIZE', $upload_chunk_size_bytes);
// private key and session name to store to the session
if ( !defined( 'FM_SESSION_ID')) {
define('FM_SESSION_ID', 'filemanager');
}
// Configuration
$cfg = new FM_Config();
// Default language
$lang = isset($cfg->data['lang']) ? $cfg->data['lang'] : 'en';
// Show or hide files and folders that starts with a dot
$show_hidden_files = isset($cfg->data['show_hidden']) ? $cfg->data['show_hidden'] : true;
// PHP error reporting - false = Turns off Errors, true = Turns on Errors
$report_errors = isset($cfg->data['error_reporting']) ? $cfg->data['error_reporting'] : true;
// Hide Permissions and Owner cols in file-listing
$hide_Cols = isset($cfg->data['hide_Cols']) ? $cfg->data['hide_Cols'] : true;
// Theme
$theme = isset($cfg->data['theme']) ? $cfg->data['theme'] : 'light';
define('FM_THEME', $theme);
//available languages
$lang_list = array(
'en' => 'English'
);
if ($report_errors == true) {
@ini_set('error_reporting', E_ALL);
@ini_set('display_errors', 1);
} else {
@ini_set('error_reporting', E_ALL);
@ini_set('display_errors', 0);
}
// if fm included
if (defined('FM_EMBED')) {
$use_auth = false;
$sticky_navbar = 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('nocache'); // Prevent logout issue after page was cached
session_name(FM_SESSION_ID );
function session_error_handling_function($code, $msg, $file, $line) {
// Permission denied for default session, try to create a new one
if ($code == 2) {
session_abort();
session_id(session_create_id());
@session_start();
}
}
set_error_handler('session_error_handling_function');
session_start();
restore_error_handler();
}
//Generating CSRF Token
if (empty($_SESSION['token'])) {
if (function_exists('random_bytes')) {
$_SESSION['token'] = bin2hex(random_bytes(32));
} else {
$_SESSION['token'] = bin2hex(openssl_random_pseudo_bytes(32));
}
}
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';
// update $root_url based on user specific directories
if (isset($_SESSION[FM_SESSION_ID]['logged']) && !empty($directories_users[$_SESSION[FM_SESSION_ID]['logged']])) {
$wd = fm_clean_path(dirname($_SERVER['PHP_SELF']));
$root_url = $root_url.$wd.DIRECTORY_SEPARATOR.$directories_users[$_SESSION[FM_SESSION_ID]['logged']];
}
// clean $root_url
$root_url = fm_clean_path($root_url);
// abs path for site
defined('FM_ROOT_URL') || define('FM_ROOT_URL', ($is_https ? 'https' : 'http') . '://' . $http_host . (!empty($root_url) ? '/' . $root_url : ''));
defined('FM_SELF_URL') || define('FM_SELF_URL', ($is_https ? 'https' : 'http') . '://' . $http_host . $_SERVER['PHP_SELF']);
// logout
if (isset($_GET['logout'])) {
unset($_SESSION[FM_SESSION_ID]['logged']);
unset( $_SESSION['token']);
fm_redirect(FM_SELF_URL);
}
// Validate connection IP
if ($ip_ruleset != 'OFF') {
function getClientIP() {
if (array_key_exists('HTTP_CF_CONNECTING_IP', $_SERVER)) {
return $_SERVER["HTTP_CF_CONNECTING_IP"];
}else if (array_key_exists('HTTP_X_FORWARDED_FOR', $_SERVER)) {
return $_SERVER["HTTP_X_FORWARDED_FOR"];
}else if (array_key_exists('REMOTE_ADDR', $_SERVER)) {
return $_SERVER['REMOTE_ADDR'];
}else if (array_key_exists('HTTP_CLIENT_IP', $_SERVER)) {
return $_SERVER['HTTP_CLIENT_IP'];
}
return '';
}
$clientIp = getClientIP();
$proceed = false;
$whitelisted = in_array($clientIp, $ip_whitelist);
$blacklisted = in_array($clientIp, $ip_blacklist);
if($ip_ruleset == 'AND'){
if($whitelisted == true && $blacklisted == false){
$proceed = true;
}
} else
if($ip_ruleset == 'OR'){
if($whitelisted == true || $blacklisted == false){
$proceed = true;
}
}
if($proceed == false){
trigger_error('User connection denied from: ' . $clientIp, E_USER_WARNING);
if($ip_silent == false){
fm_set_msg(lng('Access denied. IP restriction applicable'), 'error');
fm_show_header_login();
fm_show_message();
}
exit();
}
}
// Checking if the user is logged in or not. If not, it will show the login form.
if ($use_auth) {
if (isset($_SESSION[FM_SESSION_ID]['logged'], $auth_users[$_SESSION[FM_SESSION_ID]['logged']])) {
// Logged
} elseif (isset($_POST['fm_usr'], $_POST['fm_pwd'], $_POST['token'])) {
// Logging In
sleep(1);
if(function_exists('password_verify')) {
if (isset($auth_users[$_POST['fm_usr']]) && isset($_POST['fm_pwd']) && password_verify($_POST['fm_pwd'], $auth_users[$_POST['fm_usr']]) && verifyToken($_POST['token'])) {
$_SESSION[FM_SESSION_ID]['logged'] = $_POST['fm_usr'];
fm_set_msg(lng('You are logged in'));
fm_redirect(FM_SELF_URL);
} else {
unset($_SESSION[FM_SESSION_ID]['logged']);
fm_set_msg(lng('Login failed. Invalid username or password'), 'error');
fm_redirect(FM_SELF_URL);
}
} else {
fm_set_msg(lng('password_hash not supported, Upgrade PHP version'), 'error');;
}
} else {
// Form
unset($_SESSION[FM_SESSION_ID]['logged']);
fm_show_header_login();
?>
Recommended sites for bi dating are a powerful way to relate solely to individuals who share comparable interests. whether you are looking for a critical relationship or perhaps a casual encounter, these sites can help you find the appropriate individual. among the best sites for bi relationship is bidate. this site is made for people that are interested in dating individuals of exactly the same sex. it offers a wide range of features, including a messaging system and a search engine. this site is made for people that are searching for a significant relationship. finally, there is bimingle. it has a limited messaging system, but it does have a search engine.
Find the perfect bi curious dating site for you
Finding an ideal bi curious dating website are daunting, however with the aid of the right tools, it could be a piece of cake. listed below are five of the finest alternatives for those looking to explore their sexuality:
1. bi curious dating website
this web site is designed specifically for those people who are enthusiastic about exploring their sex beyond the standard hetero-normative relationships. it gives a safe and comfortable environment for users in order to connect with other people whom share their same interest, and offers a wealth of resources to simply help them explore their bi curious side. 2. meet bisexual
this site is geared towards those people who are bisexual, and will be offering a wide variety of features and tools to aid users relate with other individuals who share their same interest. 3. bi dating site
this web site is made especially for those who are looking to date other bi-curious individuals. it provides numerous features and tools to greatly help users interact with others who share their same interest, and provides a safe and comfortable environment for users to explore their sexuality. 4. 5.
Get to know bi women and find the proper match for you
If you’re looking for a fresh relationship, or simply desire to learn more about the bi community, you’re in the best place. in this specific article, we will talk about what bi women are, what they’re like, and exactly how to find them. first, let’s determine exactly what bi means. bi means “two or more.” therefore, bi women are women who are interested in one or more gender. this may add those who are attracted to both men and women, people who are attracted to only guys, or folks who are drawn to only women. bi women are located in all walks of life. they originate from all socioeconomic backgrounds, all events, and all religions. they are just like any girl, except they’ve yet another set of interests and destinations. therefore, what are the benefits of dating a bi woman? very first, bi women are unique and interesting. they have too much to provide, and you’ll never ever be bored with them. 2nd, bi women are open-minded. they are not afraid to try brand new things, and they are always up for a challenge. third, bi women are faithful. they will continually be here available, regardless of what. fourth, bi women are truthful. they will let you know what they think, and additionally they will not sugar-coat things. sixth, bi women are understanding. they will never judge you, whatever you are doing. if you’re interested in finding bi women, here are a few tips to assist you to. first, try online dating sites. this is certainly a powerful way to find bi women, because it’s open-minded and comprehensive. 2nd, attend bi-focused events. these occasions are superb places to generally meet bi women, and they are usually free. 3rd, join a bi dating internet site. these sites are made especially for bi women, plus they provide an array of features and services. fourth, look for bi-themed activities locally. these events are usually free, and they are a powerful way to satisfy bi women. fifth, fulfill bi women personally. here is the simplest way to find a bi woman, as you’ll get a much better sense of exactly what she’s like. sixth, ask bi women on times. that is a great way to get to know them better, and it’s really constantly a fun experience. therefore, there you have got it. they are some ideas to allow you to find and date bi women. in the event that you take to them down, you’ll be certain to have outstanding experience.
A secure and safe platform for bi dating
A safe and secure platform for bi dating is a good strategy for finding love. bi dating internet sites offer a safe and safe method for individuals find love. these websites are great for those who are looking for a relationship or a hook-up. there are a great number of great bi dating web sites nowadays. one of the best bi dating websites is bidate. bidate is a superb website because it is a safe and secure platform. additionally it is a good website since it is a powerful way to find love.
Connect with regional bisexuals and discover your soulmate
If you’re looking for a dating software that caters especially to bisexuals, then chances are you’re in fortune! there are a number of apps available offering a variety of features and solutions designed designed for this population. here are a few of the very popular bisexual dating apps:
1. bisexual.com is a dating website which was created specifically for bisexuals. it gives a variety of features, including a note board, chat rooms, and search engines enabling you to find matches considering your passions. 2. bi dating software bicupid is one of the most popular bisexual dating apps available. 3. 4. 5. bisexual dating app bumble is another popular bisexual dating software. 6. 7. 8. 9. 10. there are a variety of other bisexual dating apps available, however these are some of the most extremely popular ones. if you’re finding a dating application that specifically provides bisexuals, the other among these apps should really be perfect for you.
Benefits of bi dating websites
There are advantages to utilizing bi dating websites. first, they feature a far more diverse selection of possible partners than traditional dating websites. this can be a terrific way to find somebody who is a great match available according to your interests and values. second, bi dating websites in many cases are more open-minded than traditional dating websites. this could easily cause them to a more comfortable spot to date and potentially find a long-term relationship. 3rd, bi dating websites are a great way to satisfy brand new people. this is often a powerful way to expand your social circle and also make new friends. finally, bi dating websites could be a great way to find a relationship.
Find bi couples now – here is how
If you’re looking for a brand new relationship, perhaps you are wondering if you’re alone or perhaps not. the answer to that concern may shock you, and it’s feasible to find bi couples on line. here is how to do it. first, you will want to make use of a search engine to find sites that offer bi dating. there are numerous of the sites, and you will find them by doing a search for “bi dating.” when you have found a website, you need to sign up for a free account. this may enable you to join conversations and meet other people. once you’ve registered, it’s also important to find a dating forum. this is outstanding starting point as it provides you with access to a sizable pool of prospective lovers. when you are seeking someone, it is critical to be respectful and honest. ensure that you be upfront about your passions and objectives. if you are seeking a bi few, make sure to search for discussion boards and websites that consider that particular sort of relationship. there are many on the market, so make sure to find the right choice available.
exactly what is bi dating and who should make use of it?
Bi dating is a term accustomed describe dating or relationships between individuals who are perhaps not of the identical intercourse.it can be used by anyone, no matter their intimate orientation.there are many explanations why people might want to make use of bi dating.some people might want to explore their intimate boundaries.others may want to find someone who shares similar passions.whatever the reasons, bi dating is an excellent strategy for finding someone special.it may be an enjoyable and exciting solution to date.anyone can use bi dating.it’s not restricted to people who are homosexual or lesbian.anyone can date an individual who is bi.there are numerous great bi dating websites around.you will find a website that fits your needs.if you are considering a dating website that’s specifically for bi people, consider bi dating websites.this website is focused on helping bi people find love.bi dating websites are a great way to find a partner.they’re additionally a terrific way to explore your sexual boundaries.so, if you’re searching for a brand new method to date or find a partner, bi dating websites are an excellent substitute for consider. read here