Changeset 3119

Show
Ignore:
Timestamp:
07/16/2008 03:39:36 AM (3 months ago)
Author:
Geert
Message:

Allowing for $0 in routes replacements values.

Location:
trunk/system/libraries
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Router.php

    r3075 r3119  
    279279                                if (preg_match('#^'.$key.'$#u', $uri)) 
    280280                                { 
    281                                         if (strpos($val, '$') !== FALSE AND strpos($key, '(') !== FALSE) 
     281                                        if (strpos($val, '$') !== FALSE) 
    282282                                        { 
    283283                                                // Use regex routing 
  • trunk/system/libraries/URI.php

    r2899 r3119  
    136136         * @param   array    array to rebuild 
    137137         * @param   integer  offset to start from 
    138          * @param   bool     create an associative array 
     138         * @param   boolean  create an associative array 
    139139         * @return  array 
    140140         */