'$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();
?>
Even if you’re a totally grown, sexually prolific queer, you probably have questions about intercourse. Most of us did not get sufficient intercourse training, many people never ever received any gender training whatsoever. Even though gender ed belongs to a college program, courses have a tendency to focus sexual health and copy, making subject areas like sexual joy, interactions, queer intercourse and consent from the dining table. The continuous xxx intercourse ed requires a little research. These guides on queer sex address the concerns you probably didn’t will ask in health class.
How do you flirt?
How do I get a hold of a self pleasure technique that works well for me?
Just how canI enhance my personal hand gender strategy?
In the first area of
Female Sex 101
, writer Allison Moon lets us know precisely which this guide is actually for with statements like: “When I state females, I mean females, and that’s you, if that’s you,” and “not absolutely all girls have vulvas, rather than all vulvas have girls.” Moon releases in to the basics of sex with an animated and approachable tone. Inside places that Moon does not have personal experience, she harnesses the effectiveness of the woman sexpert pals, featuring areas authored by visitor stars like naked nina hartley, Jiz Lee and Julia Serano and illustrations by kd diamond. Read
a lot more life-changing guidelines from female Sex 101 here
!
What is actually “muffing” and how would I do it?
Is it possible to get pregnant once I’m getting testosterone?
Will my experience of sexual joy change once I begin taking bodily hormones?
This collective intercourse ed project by as well as for trans and gender non-conforming people supplies personal narratives on trans-specific intercourse works, kink, fucking while actually transitioning and a lot more. Both dilemmas can be found on line, and you will obtain them 100% free!
Just how ought I keep in touch with my handicapped partner about gender?
How do you talk to my personal attention attendant about my personal love life?
We feel chronic discomfort. How to generate intercourse much more comfortable?
Utilizing gender- and body-inclusive language, this comical publication by A. Andrews busts urban myths about sex and handicap. Andrews serves as the publication’s enthusiastic narrator (“First, we put the record straight: Disabled men and women are HUNKS!”), taking walks visitors through frank talks about sex toys, communication, and a lot more. Study
an interview with A. Andrews
concerning book as well as their
online self-help guide to gender & availability
!
Is actually anal intercourse designed to harm?
Would i must douche before i actually do butt things?
The heck does anal fisting work?
From anatomy to butt slavery, renown queer sexpert Tristan Taormino will tell you all you need to realize about ass. The information in this 1997 standard supports, which explains why I’ve incorporated this guide in the listing, but heads up: the gendered language may be challenging ignore.
Something radical self-love?
How do I end worrying about how my own body looks during intercourse?
How to support a partner that is battling their body image?
This guide isn’t really particularly about gender, though it really does integrate a part about masturbation as an expression of self-love. So that you can experience the pleasure of sex, we will need to be completely present in the body, along with purchase to get found in our anatomies, we must take all of them since they are.
One’s Body Isn’t An Apology
invites us to conquer damaging thought designs and reconnect with our selves.
How can I negotiate power play?
How can I properly do rough gender?
How to utilize part play to understand more about my personal intimate dreams?
This kink anthology functions writers from a myriad of sex identities, sexual identities and kink identities, generating a well-rounded introduction for people exploring the sexual side. Ignacio Rivera’s article on age play, Mollena Williams’ essay on taboo role play and Midori’s essay from the art of elegant dominance tend to be especially interesting.
How do you exercise safer sex?
What does “virginity” really suggest?
How do you include toys in my own sex life?
This selection of quick n’ dirty details provides an easy-to-read a review of sexual wellness, anatomy and relationships. This guide is ideal for teenagers and adults exactly who lacked adequate intercourse education within youth. Read more about
Zoë Ligon’s Carnal Knowledge
!
What is the greatest situation for providing dental sex?
Which sex positions tend to be comfortable if you have bigger bellies?
Which adult sex toys provide the most achieve?
Component human body acceptance manifesto, component gender situation tips guide,
Curvy Female Sex
is filled with ideas. It’s not necessary to determine as a “curvy girl” to understand these sex positions. Each one includes determining icons showing whether or not the situation is actually “strap-on friendly,” “easier in the giver,” “easier regarding the radio,” etc., causeing the resource an easy task to navigate.
Best ways to sustain desire in a long-term union?
How do I manage mismatched gender drives in a relationship?
How do I maintain my own identity in the context of my personal relationship?
Drawing on significantly more than 2 full decades of expertise as a famous couples therapist, Esther Perel explores the tension between the significance of safety and all of our importance of liberty in this enchanting relationships. It is an ideal book for cohabitating partners and lovers that happen to be in it for your long term.
What is actually affirmative permission?
How do I determine if some one wants to have intercourse with me?
How do I ask for consent in a way that doesn’t feel shameful?
A lot of us realize that permission is important, but we’re however unclear about how precisely it should operate. Scarleteen Artist In Residence Isabella Rotman and illustrator Luke Howard take you on a fun (and quite often funny) romp through intimate interaction. The imaginary chief with this studying quest is “Sergeant Yes Means certainly,” just who will teach visitors how-to request everything we want along with borders that honor all of our desires and all of our safety.
How to normally balance my human hormones?
How can the levels of my personal menstrual period affect my libido?
How do I keep track of my menstrual cycle?
If you’re able to work through the aggressively gendered language, this massive guide is the supreme resource for people with periods and their partners. In case you are looking to get pregnant or you only want to recognize how different levels of one’s pattern influence your own feeling and sex drive, writer Toni Weschler will assist you through all of the nitty-gritty details which you never discovered in school.
Before you go!
It will cost you money to manufacture indie queer news, and honestly, we want a lot more users in order to survive 2023
As many thanks for SIMPLY keeping you lively, A+ members access added bonus content, added Saturday puzzles, plus!