mirror of
https://github.com/michalcz10/USB-RAID-Array.git
synced 2026-11-11 07:59:04 +00:00
Modernize FTP UI: use modern.css, add dark-box container, remove redundant DB function, delete unused FTP config
This commit is contained in:
@@ -16,10 +16,10 @@ if(!isset($_SESSION["upPer"]) || $_SESSION["upPer"] != true) {
|
||||
ini_set('display_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
|
||||
require 'config.php';
|
||||
require_once __DIR__ . '/../../config/config.php';
|
||||
use phpseclib3\Net\SFTP;
|
||||
|
||||
$sftp = initializeSFTP($host, $username, $password);
|
||||
$sftp = initializeSFTP();
|
||||
|
||||
// Process extraction request
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['archive'])) {
|
||||
|
||||
Reference in New Issue
Block a user