Changeset 3014
- Timestamp:
- 07/09/2008 06:48:18 AM (5 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Router.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Router.php
r3012 r3014 25 25 public static $controller_path; 26 26 public static $controller_dir; 27 27 28 28 public static $method = 'index'; 29 29 public static $arguments = array(); … … 109 109 if (is_file($dir.$controller_path.EXT)) 110 110 { 111 // Set controller subdirectory if any112 self::$controller_dir =substr($controller_path,0,strrpos($controller_path,'/'));113 111 // Set controller subdirectory if any 112 self::$controller_dir = substr($controller_path, 0, strrpos($controller_path, '/')); 113 114 114 // Set controller name 115 115 self::$controller = $segment;
