diff options
author | Daniel Stefan Haischt <dsh@pfsense.org> | 2006-11-22 15:02:31 +0000 |
---|---|---|
committer | Daniel Stefan Haischt <dsh@pfsense.org> | 2006-11-22 15:02:31 +0000 |
commit | 92bbabff2f3fb1f8a0d399a62077cf92e86fe5b8 (patch) | |
tree | 87f593119189f942b9be310b20312e850ee3309c /packages/sshterm | |
parent | bfb582170257d32cdd03a92703039d833b218c54 (diff) | |
download | pfsense-packages-92bbabff2f3fb1f8a0d399a62077cf92e86fe5b8.tar.gz pfsense-packages-92bbabff2f3fb1f8a0d399a62077cf92e86fe5b8.tar.bz2 pfsense-packages-92bbabff2f3fb1f8a0d399a62077cf92e86fe5b8.zip |
* fix: readfile echos the contents of a file but does not asign its contents
to a variable.
Diffstat (limited to 'packages/sshterm')
-rw-r--r-- | packages/sshterm/sshterm.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/sshterm/sshterm.xml b/packages/sshterm/sshterm.xml index a77ed1d3..7be68fa3 100644 --- a/packages/sshterm/sshterm.xml +++ b/packages/sshterm/sshterm.xml @@ -37,13 +37,13 @@ <title>Diagnostics: Shell</title> <additional_files_needed> - <prefix>/usr/local/www/</prefix> - <chmod>0755</chmod> + <prefix>/usr/local/www/</prefix> + <chmod>0755</chmod> <item>http://www.pfsense.org/packages/config/sshterm/diag_shell_head.php</item> </additional_files_needed> <additional_files_needed> - <prefix>/usr/local/www/</prefix> - <chmod>0755</chmod> + <prefix>/usr/local/www/</prefix> + <chmod>0755</chmod> <item>http://www.pfsense.org/packages/config/sshterm/diag_shell_releng.php</item> </additional_files_needed> @@ -73,7 +73,7 @@ <custom_php_resync_config_command> </custom_php_resync_config_command> <custom_php_install_command> - $version = readfile("/etc/version"); + $version = file_get_contents("/etc/version"); if (strpos($version, "HEAD") !== false) { unlink("/usr/local/www/diag_shell_releng.php"); |