Location: PHPKode > projects > SCOP Heartbeat Administration interface > scop-2.0/html/scop/config/getharesources.php
<?
header("Content-type: application/octet-stream");
header("Content-disposition: attachment; filename=haresources");
header("Content-transfer-encoding: binary");
$orig="/etc/ha.d/haresources";
exec ("sudo chmod 777 $orig");
readfile("$orig");
?>
Return current item: SCOP Heartbeat Administration interface