diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-12-07 17:39:54 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-12-07 17:39:54 +0100 |
commit | 0d313a32f230071fcb53c84efe0e0e7296bcee46 (patch) | |
tree | abcc1929b57910e8cd67c11f6609249bc690a487 /system/libraries/Router.php | |
parent | 4a1e6699f3adec3eba6281d5211f6b399a0fbfba (diff) |
update to CI 1.7.3
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system/libraries/Router.php')
-rw-r--r-- | system/libraries/Router.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Router.php b/system/libraries/Router.php index 50c7dd7cc..7dbad0374 100644 --- a/system/libraries/Router.php +++ b/system/libraries/Router.php @@ -6,7 +6,7 @@ * * @package CodeIgniter * @author ExpressionEngine Dev Team - * @copyright Copyright (c) 2008 - 2009, EllisLab, Inc. + * @copyright Copyright (c) 2008 - 2010, EllisLab, Inc. * @license http://codeigniter.com/user_guide/license.html * @link http://codeigniter.com * @since Version 1.0 @@ -307,7 +307,7 @@ class CI_Router { */ function set_class($class) { - $this->class = $class; + $this->class = str_replace(array('/', '.'), '', $class); } // -------------------------------------------------------------------- @@ -366,7 +366,7 @@ class CI_Router { */ function set_directory($dir) { - $this->directory = $dir.'/'; + $this->directory = str_replace(array('/', '.'), '', $dir).'/'; } // -------------------------------------------------------------------- |