summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2012-10-31 09:19:48 +0545
committerPhil Davis <phil.davis@world.inf.org>2012-10-31 09:19:48 +0545
commit44b1c3e819e832d64426f3214b33a34caf2fb5ae (patch)
tree238dbca159bed12d451497276fb37e1e235d28be /usr
parentaa2f8cab826f902b8a9637f18d439900e3d269d2 (diff)
downloadpfsense-44b1c3e819e832d64426f3214b33a34caf2fb5ae.zip
pfsense-44b1c3e819e832d64426f3214b33a34caf2fb5ae.tar.gz
Replace deprecated split with explode
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/pkg_mgr_installed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php
index f2e8bcf..6b8745e 100755
--- a/usr/local/www/pkg_mgr_installed.php
+++ b/usr/local/www/pkg_mgr_installed.php
@@ -130,7 +130,7 @@ include("head.inc");
continue;
// get history/changelog git dir
- $commit_dir=split("/",$pkg['config_file']);
+ $commit_dir=explode("/",$pkg['config_file']);
$changeloglink ="https://github.com/bsdperimeter/pfsense-packages/commits/master/config/".$commit_dir[(count($commit_dir)-2)];
#check package version
$latest_package = $currentvers[$pkg['name']]['version'];
OpenPOWER on IntegriCloud