commit | 1ae651655888383a4d7f97fbf6e97a7ac00a9630 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Sat Mar 10 16:11:34 2012 +0200 |
committer | Andrey Andreev <narf@bofh.bg> | Sat Mar 10 16:11:34 2012 +0200 |
tree | 26bdd60797f2b4f385033671501dce31b6808588 | |
parent | 52a31ba3acc5f5be16692ac25c70780775e548e0 [diff] [blame] |
Remove PHP 5.1.6-specific code
diff --git a/system/core/URI.php b/system/core/URI.php index db5b8e4..4a2e87c 100755 --- a/system/core/URI.php +++ b/system/core/URI.php
@@ -444,9 +444,7 @@ return array(); } - return function_exists('array_fill_keys') - ? array_fill_keys($default, FALSE) - : array_combine($default, array_fill(0, count($default), FALSE)); + return array_fill_keys($default, FALSE); } $segments = array_slice($this->$segment_array(), ($n - 1));