restructuring, removed unneccessary options from web ui
This commit is contained in:
@@ -22,8 +22,6 @@ define('DOCROOT', '/home/httpd/cgi-bin/qpkg/RoonServer/');
|
||||
include(DOCROOT . "__include.php");
|
||||
include(DOCROOT . "__functions.php");
|
||||
|
||||
$strNoDir = 'etc';
|
||||
|
||||
$strVarAction = filter_var($_GET['a'], FILTER_SANITIZE_STRING);
|
||||
$strVarTree = filter_var($_GET['t'], FILTER_SANITIZE_STRING);
|
||||
$strModalContent = filter_var($_GET['c'], FILTER_SANITIZE_STRING);
|
||||
@@ -53,7 +51,6 @@ if ($strVarAction == 'checkHelperScript') {
|
||||
'success' => false
|
||||
));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -79,12 +76,6 @@ if ($strVarAction == 'updateformfield') {
|
||||
exit();
|
||||
}
|
||||
|
||||
if ($strVarAction == 'redownload') {
|
||||
$helper_script = APPINSTALLPATH . '/helper-scripts/roon-helper-actions.sh';
|
||||
$output = shell_exec($helper_script . ' reinstall');
|
||||
return $output;
|
||||
}
|
||||
|
||||
if ($strVarAction == 'downloadlogs') {
|
||||
$output = downloadLogs($strSessionID, $dblocation);
|
||||
return $output;
|
||||
|
||||
Reference in New Issue
Block a user