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
@@ -4,9 +4,9 @@
ini_set('display_errors', 1);
error_reporting(E_ALL);
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'] === 'createDir') {
$currentPath = isset($_POST['currentPath']) ? normalizePath($_POST['currentPath']) : $defaultPath;