Changeset 3014

Show
Ignore:
Timestamp:
07/09/2008 06:48:18 AM (5 months ago)
Author:
Geert
Message:

Follow-up to r3012: CodingStyle

Files:
1 modified

Legend:

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

    r3012 r3014  
    2525        public static $controller_path; 
    2626        public static $controller_dir; 
    27          
     27 
    2828        public static $method    = 'index'; 
    2929        public static $arguments = array(); 
     
    109109                                        if (is_file($dir.$controller_path.EXT)) 
    110110                                        { 
    111                                                 //Set controller subdirectory if any 
    112                                                 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 
    114114                                                // Set controller name 
    115115                                                self::$controller = $segment;