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

Allowing for $0 in routes replacements values.

Files:
1 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