Permalink
Browse files

split is deprecated in php5.3, use explode instead

  • Loading branch information...
1 parent 10dbe65 commit c6f358a8fc1a474727a0b65d3144fda55a460164 @shish shish committed Jul 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/util.inc.php
View
@@ -859,7 +859,7 @@ function _get_page_request() {
$args = _get_query_parts();
if(count($args) == 0 || strlen($args[0]) == 0) {
- $args = split('/', $config->get_string('front_page'));
+ $args = explode('/', $config->get_string('front_page'));
}
return new PageRequestEvent($args);

0 comments on commit c6f358a

Please sign in to comment.