Lompat ke konten Lompat ke sidebar Lompat ke footer

Tinyfilemanager 2.4.3 < FHD >

// ============================================= // DO NOT EDIT BELOW UNLESS YOU KNOW WHAT YOU DO // =============================================

// Root path for file manager $root_path = $_SERVER['DOCUMENT_ROOT']; tinyfilemanager 2.4.3

if ($full_path === false || strpos($full_path, $root_path) !== 0) $full_path = $root_path; $current_path = ''; if ($full_path === false || strpos($full_path

// Actions $action = isset($_POST['action']) ? $_POST['action'] : (isset($_GET['action']) ? $_GET['action'] : ''); $root_path) !== 0) $full_path = $root_path

if ($action === 'upload' && isset($_FILES['file'])) $dest = $full_path . '/' . basename($_FILES['file']['name']); if (move_uploaded_file($_FILES['file']['tmp_name'], $dest)) echo "OK";

if ($use_auth) auth($auth_users, $read_only_users); $readonly = $_SESSION['readonly']; else $readonly = false;