17 lines
667 B
PHP
17 lines
667 B
PHP
<!DOCTYPE html>
|
|
<!--
|
|
<?php
|
|
echo "Getting status commands...";
|
|
$status_file_name = "commands_status.conf";
|
|
$status_file = fopen($status_file_name, "r") or die("Could not read file $status_file_name. Aborting.");
|
|
$status_commands = explode(PHP_EOL, fread($status_file, filesize($status_file_name)));
|
|
fclose($status_file);
|
|
echo "Done.";
|
|
echo "Getting ondemand commands...";
|
|
$ondemand_file_name = "commands_ondemand.conf";
|
|
$ondemand_file = fopen($ondemand_file_name, "r") or die("Could not read file $ondemand_file_name. Aborting.");
|
|
$ondemand_commands = explode(PHP_EOL, fread($ondemand_file, filesize($ondemand_file_name)));
|
|
fclose($ondemand_file);
|
|
echo "Done.";
|
|
?>
|
|
-->
|