RE: Sentora Filemanager [extplorer]
02-18-2015, 01:41 PM
(This post was last modified: 02-18-2015, 02:16 PM by Cantalupo.)
What needs to change in init.php file?
For it is showing all the folders /hostdata, and all users are achieving view the directory /hostdata.
/etc/sentora/panel/etc/apps/filemanager/include/init.php
For it is showing all the folders /hostdata, and all users are achieving view the directory /hostdata.
/etc/sentora/panel/etc/apps/filemanager/include/init.php
Code:
//sentora login
$_SESSION['credentials_extplorer']['username'] = $_SESSION['extmyUsername'];
$_SESSION['credentials_extplorer']['password'] = 'null';
$_SESSION['file_mode'] = 'extplorer';
$GLOBALS["home_dir"] = '/var/sentora/hostdata/'.$_SESSION['credentials_extplorer']['username'];
$GLOBALS["home_url"] = 'http://localhost/';
$GLOBALS["show_hidden"] = '1';
$GLOBALS["no_access"] = '';
$GLOBALS["permissions"] = '1';
//end sentora login