mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -07:00
FM changes
This commit is contained in:
parent
f064c09667
commit
d207b7a752
9 changed files with 117 additions and 136 deletions
|
@ -3,14 +3,15 @@
|
|||
include($_SERVER['DOCUMENT_ROOT'] . "/inc/main.php");
|
||||
|
||||
|
||||
|
||||
|
||||
if ((!isset($_SESSION['FILEMANAGER_KEY'])) || (empty($_SESSION['FILEMANAGER_KEY']))) {
|
||||
header("Location: /filemanager-not-purchased/");
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
// Check login_as feature
|
||||
if (($_SESSION['user'] == 'admin') && (!empty($_SESSION['look']))) {
|
||||
$user=$_SESSION['look'];
|
||||
}
|
||||
|
||||
if (empty($panel)) {
|
||||
$command = VESTA_CMD."v-list-user '".$user."' 'json'";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue