Redesign of hosting panel

This commit is contained in:
myvesta 2023-06-04 17:56:44 +02:00 committed by GitHub
commit c3d0c17c51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 3143 additions and 1830 deletions

View file

@ -1,8 +1,5 @@
<?php
$vesta_version=file_get_contents('/usr/local/vesta/version.txt');
$vesta_build_date=file_get_contents('/usr/local/vesta/build_date.txt');
if (file_exists("/usr/local/vesta/web/inc/switch_to_vesta_port") && isset($_SERVER['HTTP_X_REAL_IP'])) {
header("Location: https://".$_SERVER['HTTP_HOST'].":".$_SERVER['SERVER_PORT']);
exit;
@ -11,7 +8,7 @@ if (file_exists("/usr/local/vesta/web/inc/switch_to_vesta_port") && isset($_SERV
session_start();
define('VESTA_CMD', '/usr/bin/sudo /usr/local/vesta/bin/');
define('JS_LATEST_UPDATE', '1491697868');
define('JS_LATEST_UPDATE', '1491697869');
$i = 0;