Some code refactoring
- Replaced 'shell_exec("curl -s URL")' with PHP5 cURL function
- Replaced state-variables with constants
- Replaced version and program variables with constants
- Bumped version to 0.2
This commit is contained in:
@@ -16,6 +16,9 @@ Don't forget to quote the district in the argument, such as the below example.
|
||||
|
||||
Create one instance of each district you want to monitor.
|
||||
|
||||
## Requirements ##
|
||||
The script requires PHP5 and the PHP5 cURL module (php5-curl on Debian systems).
|
||||
|
||||
## Copyright ##
|
||||
Original author is Jack-Benny Persson (jack-benny@cyberinfo.se).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user