Loading src/eyesis4pi/eyesis4pi_interface.php +5 −2 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ switch($cmd){ break; case "logs_download": ini_set('memory_limit','512M'); header("Content-Type: application/octet-stream"); header("Content-Disposition: attachment; filename=\"{$_SERVER["SERVER_ADDR"]}.logs\""); Loading @@ -73,7 +75,7 @@ switch($cmd){ echo_file("/var/log/init_elphel393.log"); echo_file("/var/log/x393sata_control.log"); echo_file("/var/log/x393sata_eyesis4pi.log"); //echo_file("/var/log/x393sata_eyesis4pi.log"); echo_file("/var/state/ssd"); Loading @@ -82,10 +84,11 @@ switch($cmd){ echo_file("/var/log/lighttpd.error.log"); echo_file("/var/log/lighttpd_stderr.log"); echo_file("/var/tmp/camogm.log"); echo_file("/var/log/messages"); echo_file("/var/log/access.log"); echo_file("/var/tmp/camogm.log"); break; case "external_drive": switch_sata_connection("external"); Loading Loading
src/eyesis4pi/eyesis4pi_interface.php +5 −2 Original line number Diff line number Diff line Loading @@ -59,6 +59,8 @@ switch($cmd){ break; case "logs_download": ini_set('memory_limit','512M'); header("Content-Type: application/octet-stream"); header("Content-Disposition: attachment; filename=\"{$_SERVER["SERVER_ADDR"]}.logs\""); Loading @@ -73,7 +75,7 @@ switch($cmd){ echo_file("/var/log/init_elphel393.log"); echo_file("/var/log/x393sata_control.log"); echo_file("/var/log/x393sata_eyesis4pi.log"); //echo_file("/var/log/x393sata_eyesis4pi.log"); echo_file("/var/state/ssd"); Loading @@ -82,10 +84,11 @@ switch($cmd){ echo_file("/var/log/lighttpd.error.log"); echo_file("/var/log/lighttpd_stderr.log"); echo_file("/var/tmp/camogm.log"); echo_file("/var/log/messages"); echo_file("/var/log/access.log"); echo_file("/var/tmp/camogm.log"); break; case "external_drive": switch_sata_connection("external"); Loading