Update get_settings.php
This commit is contained in:
@@ -23,7 +23,7 @@ if(isset($_GET["settings"])){
|
|||||||
server:server_url https://jakach.duckdns.org
|
server:server_url https://jakach.duckdns.org
|
||||||
rtp_folder_scan:status on
|
rtp_folder_scan:status on
|
||||||
*/
|
*/
|
||||||
load_settings();
|
echo(load_secret()."\n");
|
||||||
echo(load_secret());
|
echo(load_secret());
|
||||||
echo("virus_ctrl:virus_found:action ".$setting_virus_ctrl_virus_found_action."\n");
|
echo("virus_ctrl:virus_found:action ".$setting_virus_ctrl_virus_found_action."\n");
|
||||||
echo("server:server_url ".$setting_server_server_url."\n");
|
echo("server:server_url ".$setting_server_server_url."\n");
|
||||||
@@ -31,7 +31,7 @@ if(isset($_GET["settings"])){
|
|||||||
echo("rtp_process_scan:status ".$setting_rtp_process_scan_status."\n");
|
echo("rtp_process_scan:status ".$setting_rtp_process_scan_status."\n");
|
||||||
}
|
}
|
||||||
if(isset($_GET["rtp_included"])){
|
if(isset($_GET["rtp_included"])){
|
||||||
echo(load_secret());
|
echo(load_secret()."\n");
|
||||||
//load all the entrys from a db table
|
//load all the entrys from a db table
|
||||||
$sql = "SELECT path,id FROM rtp_included ORDER BY id";
|
$sql = "SELECT path,id FROM rtp_included ORDER BY id";
|
||||||
$stmt = $conn->prepare($sql);
|
$stmt = $conn->prepare($sql);
|
||||||
@@ -46,7 +46,7 @@ if(isset($_GET["rtp_included"])){
|
|||||||
|
|
||||||
}
|
}
|
||||||
if(isset($_GET["rtp_excluded"])){
|
if(isset($_GET["rtp_excluded"])){
|
||||||
echo(load_secret());
|
echo(load_secret()."\n");
|
||||||
//load all the entrys from a db table
|
//load all the entrys from a db table
|
||||||
$sql = "SELECT path,id FROM rtp_excluded ORDER BY id";
|
$sql = "SELECT path,id FROM rtp_excluded ORDER BY id";
|
||||||
$stmt = $conn->prepare($sql);
|
$stmt = $conn->prepare($sql);
|
||||||
@@ -61,7 +61,7 @@ if(isset($_GET["rtp_excluded"])){
|
|||||||
|
|
||||||
}
|
}
|
||||||
if(isset($_GET["sched"])){
|
if(isset($_GET["sched"])){
|
||||||
echo(load_secret());
|
echo(load_secret()."\n");
|
||||||
//load all the entrys from a db table
|
//load all the entrys from a db table
|
||||||
$sql = "SELECT task,id FROM user_tasks ORDER BY id";
|
$sql = "SELECT task,id FROM user_tasks ORDER BY id";
|
||||||
$stmt = $conn->prepare($sql);
|
$stmt = $conn->prepare($sql);
|
||||||
|
|||||||
Reference in New Issue
Block a user