From 50ffc2f612f61e3638278cd6791bda4677213858 Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Mon, 30 Apr 2012 18:13:05 -0400 Subject: [PATCH] switch to explode since split is deprecated --- library/classes/Controller.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/classes/Controller.class.php b/library/classes/Controller.class.php index c7b55a441..983e8aeba 100644 --- a/library/classes/Controller.class.php +++ b/library/classes/Controller.class.php @@ -85,7 +85,7 @@ class Controller extends Smarty { } $args = array_reverse(array_keys($qarray)); $c_name = preg_replace("/[^A-Za-z0-9_]/","",array_pop($args)); - $parts = split("_",$c_name); + $parts = explode("_",$c_name); $name = ""; foreach($parts as $p) { @@ -153,7 +153,7 @@ class Controller extends Smarty { } function _link($action = "default",$inlining = false) { - $url_parts = split("&",$_SERVER['REQUEST_URI']); + $url_parts = explode("&",$_SERVER['REQUEST_URI']); $link = array_shift($url_parts); //print_r($url_parts); -- 2.11.4.GIT