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
@@ -9,14 +9,14 @@ error_reporting(0);
ob_start();
try {
require 'config.php';
require_once __DIR__ . '/../../config/config.php';
$logFile = __DIR__ . '/download_log.txt';
file_put_contents($logFile, "Download started: " . date('Y-m-d H:i:s') . "\n", FILE_APPEND);
$sftp = null;
try {
$sftp = initializeSFTP($host, $username, $password);
$sftp = initializeSFTP();
file_put_contents($logFile, "SFTP connection established\n", FILE_APPEND);
} catch (Exception $e) {
file_put_contents($logFile, "SFTP connection failed: " . $e->getMessage() . "\n", FILE_APPEND);