We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 44e06d6 + 317f8bb commit 48e2e75Copy full SHA for 48e2e75
1 file changed
web/list/directory/index.php
@@ -3,12 +3,6 @@
3
4
include($_SERVER['DOCUMENT_ROOT'] . "/inc/main.php");
5
6
-
7
-if ((!isset($_SESSION['FILEMANAGER_KEY'])) || (empty($_SESSION['FILEMANAGER_KEY']))) {
8
- header("Location: /filemanager-not-purchased/");
9
- exit;
10
-}
11
12
// Check login_as feature
13
if (($_SESSION['user'] == 'admin') && (!empty($_SESSION['look']))) {
14
$user=$_SESSION['look'];
@@ -29,7 +23,3 @@
29
23
$GLOBAL_JS = '<script type="text/javascript">GLOBAL.START_DIR_A = "' . $path_a . '";</script>';
30
24
$GLOBAL_JS .= '<script type="text/javascript">GLOBAL.START_DIR_B = "' . $path_b . '";</script>';
31
25
$GLOBAL_JS .= '<script type="text/javascript">GLOBAL.ROOT_DIR = "' . $panel[$user]['HOME'] . '";</script>';
32
33
34
-// Footer
35
-include($_SERVER['DOCUMENT_ROOT'].'/templates/file_manager/main.php');
0 commit comments