aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-12 09:47:16 -0400
committerjim-p <jimp@pfsense.org>2010-10-12 09:47:16 -0400
commit723138825d2ce62a0bb818e415166cf6d2316de0 (patch)
tree5d4f09029175dfc9990e82476813cbff94c3d062
parent434a4b6c351fc238700945c7a7f9402abdf69dfc (diff)
downloadpfsense-packages-723138825d2ce62a0bb818e415166cf6d2316de0.tar.gz
pfsense-packages-723138825d2ce62a0bb818e415166cf6d2316de0.tar.bz2
pfsense-packages-723138825d2ce62a0bb818e415166cf6d2316de0.zip
Fix OS test for vhosts. Fixes #945
-rw-r--r--config/vhosts/vhosts.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/vhosts/vhosts.inc b/config/vhosts/vhosts.inc
index 9f394fb0..363d8e7e 100644
--- a/config/vhosts/vhosts.inc
+++ b/config/vhosts/vhosts.inc
@@ -755,7 +755,7 @@ function php_install_command() {
exec ("fetch http://www.pfsense.com/packages/config/vhosts/freebsd7.2/usr.local.lib/lib/libxml2.a");
}
}
- if(stristr(php_uname('r'), '8.0') == TRUE) {
+ if(stristr(php_uname('r'), '8.1') == TRUE) {
if (!file_exists('/usr/local/php5')) {
chdir('/usr/local/');
exec ("fetch http://www.pfsense.com/packages/config/vhosts/freebsd8.0/php5.tar.gz");