mirror of
https://github.com/JRGTH/xigmanas-bastille-extension.git
synced 2025-12-11 01:10:57 +01:00
Set target jail path on advanced config editor by default
This commit is contained in:
@@ -39,7 +39,8 @@ require_once 'auth.inc';
|
||||
require_once 'guiconfig.inc';
|
||||
require_once("bastille_manager-lib.inc");
|
||||
|
||||
$savetopath = "{$rootfolder}/jails/";
|
||||
$item = $_SESSION['item'];
|
||||
$savetopath = "{$rootfolder}/jails/{$item}";
|
||||
if (isset($_POST['savetopath'])) {
|
||||
$savetopath = htmlspecialchars($_POST['savetopath']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user