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