|
|
@@ -3,12 +3,6 @@ error_reporting(NULL);
|
|
|
|
|
|
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'];
|
|
|
@@ -29,7 +23,3 @@ $path_b = !empty($_REQUEST['dir_b']) ? $_REQUEST['dir_b'] : '';
|
|
|
$GLOBAL_JS = '<script type="text/javascript">GLOBAL.START_DIR_A = "' . $path_a . '";</script>';
|
|
|
$GLOBAL_JS .= '<script type="text/javascript">GLOBAL.START_DIR_B = "' . $path_b . '";</script>';
|
|
|
$GLOBAL_JS .= '<script type="text/javascript">GLOBAL.ROOT_DIR = "' . $panel[$user]['HOME'] . '";</script>';
|
|
|
-
|
|
|
-
|
|
|
-// Footer
|
|
|
-include($_SERVER['DOCUMENT_ROOT'].'/templates/file_manager/main.php');
|