Main log2command class. More...
Public Member Functions | |
| command_file_changed ($file) | |
| display_help () | |
| Displays version and help. | |
| execute_command ($command, $parameters=null) | |
| Executes a command, maybe. | |
| log_file_changed ($file) | |
| The log file has changed. Read it and touch IP's. | |
| parse_command_line () | |
| Parse the command line. | |
| requirements_check () | |
| Check some basic requirements. | |
Protected Attributes | |
| $ready = false | |
Main log2command class.
| command_file_changed | ( | $ | file | ) |
The command file has been changed. Read it and execute commands.
| $file | Path and filename of command file. |
| execute_command | ( | $ | command, | |
| $ | parameters = null | |||
| ) |
Executes a command, maybe.
The command must exist in the settings file and not be empty.
| $command | Command to execute. | |
| $parameters | Optional parameters. |
| log_file_changed | ( | $ | file | ) |
The log file has changed. Read it and touch IP's.
| $file | Log file that was changed. |
| requirements_check | ( | ) |
Check some basic requirements.
Checks for:
$ready = false [protected] |
Is log2command ready for normal use?
1.7.1