diff options
author | Phil Davis <phil.davis@world.inf.org> | 2012-10-31 09:19:48 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2012-10-31 09:19:48 +0545 |
commit | 44b1c3e819e832d64426f3214b33a34caf2fb5ae (patch) | |
tree | 238dbca159bed12d451497276fb37e1e235d28be /usr | |
parent | aa2f8cab826f902b8a9637f18d439900e3d269d2 (diff) | |
download | pfsense-44b1c3e819e832d64426f3214b33a34caf2fb5ae.zip pfsense-44b1c3e819e832d64426f3214b33a34caf2fb5ae.tar.gz |
Replace deprecated split with explode
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/pkg_mgr_installed.php | 2 |
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']; |