made verbose text more readable
parent
ec5d784a75
commit
4fb1f8ceaf
|
@ -2,11 +2,11 @@
|
||||||
<!--
|
<!--
|
||||||
<?php
|
<?php
|
||||||
function get_command_list($command_file_name){
|
function get_command_list($command_file_name){
|
||||||
echo "Getting commands from file $command_file_name...";
|
echo "Getting commands from file $command_file_name...\n";
|
||||||
$command_file = fopen($command_file_name, "r") or die("Could not read file $command_file_name. Aborting.");
|
$command_file = fopen($command_file_name, "r") or die("Could not read file $command_file_name. Aborting.\n");
|
||||||
$commands = explode(PHP_EOL, fread($command_file, filesize($command_file_name)));
|
$commands = explode(PHP_EOL, fread($command_file, filesize($command_file_name)));
|
||||||
fclose($command_file);
|
fclose($command_file);
|
||||||
echo "Done.";
|
echo "Done.\n";
|
||||||
return $commands;
|
return $commands;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue