Modernize FTP UI: use modern.css, add dark-box container, remove redundant DB function, delete unused FTP config

This commit is contained in:
Michal Sedlák
2026-10-14 22:23:11 +02:00
parent 51b25f6d96
commit fa4f3b809a
451 changed files with 196 additions and 97237 deletions
+2 -2
View File
@@ -18,9 +18,9 @@ if(!isset($_SESSION["upPer"]) || $_SESSION["upPer"] != true) {
exit;
}
require 'config.php';
require_once __DIR__ . '/../../config/config.php';
$sftp = initializeSFTP($host, $username, $password);
$sftp = initializeSFTP();
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['action']) && $_POST['action'] === 'createFile') {
$currentPath = isset($_POST['currentPath']) ? normalizePath($_POST['currentPath']) : $defaultPath;