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