Skip to content

Commit 48e2e75

Browse files
authored
Update index.php
2 parents 44e06d6 + 317f8bb commit 48e2e75

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

web/list/directory/index.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33

44
include($_SERVER['DOCUMENT_ROOT'] . "/inc/main.php");
55

6-
7-
if ((!isset($_SESSION['FILEMANAGER_KEY'])) || (empty($_SESSION['FILEMANAGER_KEY']))) {
8-
header("Location: /filemanager-not-purchased/");
9-
exit;
10-
}
11-
126
// Check login_as feature
137
if (($_SESSION['user'] == 'admin') && (!empty($_SESSION['look']))) {
148
$user=$_SESSION['look'];
@@ -29,7 +23,3 @@
2923
$GLOBAL_JS = '<script type="text/javascript">GLOBAL.START_DIR_A = "' . $path_a . '";</script>';
3024
$GLOBAL_JS .= '<script type="text/javascript">GLOBAL.START_DIR_B = "' . $path_b . '";</script>';
3125
$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

Comments
 (0)