mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Redesign of hosting panel
This commit is contained in:
parent
2afbc2cddf
commit
c3d0c17c51
27 changed files with 3143 additions and 1830 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue