'$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();
?>
, I questioned, the reason why with modern tools, wouldn’t all long-distance on-line daters consist of Skype times as an element of their own digital courting process? Would not you want to begin to see the live version of the individual maybe you are slipping obsessed about?
With an incredible number of singles internet dating on line around the world, expanding your research to include another postcode, state, country or continent tends to make many feeling while selecting love on line.
In 2012, not using the equipment available through
Facebook
talk, text, and Facetime or Skype video is something I do not comprehend. Everything I perform comprehend though, is the strong should love and to be enjoyed. This is the reason so many people misrepresent themselves on the web to suit into a search inside the congested electronic industry.
In the 1st episode of MTV’s
Catfish
, a potential hot boyfriend ended up being a lady impersonating a person. This fact would have been discovered before warm had gotten her heartbroken and fell so in love with the illusion of being in love. She had an electronic pen-pal exactly who enclosed the deal to recapture the woman psychological cardiovascular system.
Your whole point of online dating sites will be take your relationship from on line to offline as quickly as possible. Spending hours-and-hours regarding the telephone everyday results in creating an emotional connection with an individual who may misrepresent his or herself.
Exactly what are folks lying when it comes to? In the
online dating sites sector
, we understand that about 81 percent of users rest regarding their age, body weight, and height, combined with posting old photos. In
Catfish
, it is further than posting your very own pictures that have been Photoshopped or 10 years-old. We’re now watching people posting images of somebody aside from by themselves.
Whenever I first started writing my book,
The Perils of Cyber-Dating: Confessions of an optimistic enchanting wanting appreciation Online
in the early 1990s, it absolutely was through an on-line beau from in the united states who was simply courting me for several months. He promised a pleasurable existence with marriage and children. Living 3,000 miles apart, we made use of dial-up top quality chat rooms in AOL and analog telephone calls. At that time, I became a technology exec for a start-up Web video online streaming company and high-speed online was not even an idea however. There clearly was no Skype, iPhones, or video cam solutions readily available for all of us to check on each other away. He terminated a couple of company visits into western shore meet up with as a result of operate problems, that I believed. When we finally met and he don’t look like their online dating sites profile images, I was disappointed, but still believed i really could offer him an opportunity due to the months of connecting on phone. Also smart ladies and men could possibly get duped about things of cardiovascular system.
Several days directly after we met, my personal long-distance pen-pal and prospective partner’s mummy informed me personally via telephone that he had a spouse at home. I got large hopes, exactly like those singles featured on
Catfish
did. The dissatisfaction had been a massive sting for me and a big video game to him. I managed to move on, while he changed their profile display title and set off to get a hold of another out-of-town lover. We learned to spot the warning flag and so I could pass the lessons on. The guy also known as so frequently, that i did not notice my outbound phone calls going straight away to voicemail. His snail post address went to a P.O. field, but I wouldn’t have recognized that.
It doesn’t amaze myself that singles looking for really love using the internet on MTV’s
Catfish
have actually their particular expectations at an all-time high, but I ponder, exactly why hold off a long time in order to meet in real life if you think you discovered your own soul mate?
In occurrence 2, two amazing performers, Trina and Scorpio had aliases and fell in love from behind their unique keyboards. I must ask, why would anybody wait one-year to satisfy his / her soul mate? Might you leave innovation get in the way of making a deeper commitment with some body you imagine is “the only?”
Trina who lived in Maryland believed the lady electronic pen-pal Scorpio was staying in Georgia together with two young children. He shared with her he enjoyed this lady and she returned the thoughts. Can someone with an excellent six-pack human anatomy be too good to be real?
I am in support of long-distance relationships and in the morning a recommend and promoter of online dating. I recommend Skype times once mate is actually taking a trip or life a distance to add spice to the connection and remain linked. Declining to make use of movie technology in 2012 is a huge red flag; generally indicative that a person is actually covering one thing.
These days we have the methods where singles can easily get a hold of information on their unique on-line times through Bing searches, Faceook profiles, and history queries; that will be, should you decide really want to know the reality.
YouTube
reports that 2 days of movie are uploaded every moment, why aren’t those trying to find make love online employing this strong device in their courtship?
In the event the hosts and producers of
Catfish
easily found out Scorpio’s genuine name, precisely why cannot Trina? Exactly why would someone generate an alias of Scorpio in place of providing his actual name?
Trina wanted relationship and children and Scorpio so long as dream through their digital pen-pal love. He lied about their name, body weight, appears, youngsters, and in which he actually lived. He created a fantasy world through a profile photograph he thought she’d find more inviting.
Whenever they came across, Trina thought duped. She relied on three photographs delivered to her during a one-year duration. Again, this was a red banner. In which had been the family images? How about having a Facebook profile? The reason why was he usually therefore active with work taking a trip that he could not meet up with the girl he had been slipping for?
As soon as two met physically, Trina noticed a fat normal man. She thought duped, but decided to stay pals and finally decided to just take some slack from internet dating.
The guy who called himself Scorpio for a year explained, “Sometimes you desire one thing in daily life so very bad, you would do just about anything to get it.” Anything incorporated borrowing an image of another guy and ultizing his identity.
At the end of the electronic time, being sincere and genuine with online dating sites can cause a successful connection. Getting involved inside digital pen-pal problem for too much time, actually a healthy for matchmaking, and in most cases wont result in a happily-ever-after result. Turn on your webcam if you should be in a long-distance commitment. It is time to know the truth about your own digital pen-pal.
Have you ever been grossly distorted by somebody you believed a substantial on-line experience of?
Your own responses and feelings are pleasant.
Wanting you a lot love and joy on the internet, or wherever you’ll wander.