File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 33
44include ($ _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
137if (($ _SESSION ['user ' ] == 'admin ' ) && (!empty ($ _SESSION ['look ' ]))) {
148 $ user =$ _SESSION ['look ' ];
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 ' );
You can’t perform that action at this time.
0 commit comments