made verbose text more readable

master
BodgeMaster 2020-03-05 04:21:12 +01:00
parent ec5d784a75
commit 4fb1f8ceaf
1 changed files with 3 additions and 3 deletions

View File

@ -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;
} }