Show
Ignore:
Timestamp:
07/20/2008 08:34:36 PM (4 months ago)
Author:
Shadowhand
Message:

Replacing file_exists calls with is_file and is_dir, where possible.

Files:
1 modified

Legend:

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

    r3160 r3168  
    109109                                $dir .= 'controllers/'; 
    110110 
    111                                 if (file_exists($dir.$controller_path) OR file_exists($dir.$controller_path.EXT)) 
     111                                if (is_dir($dir.$controller_path) OR is_file($dir.$controller_path.EXT)) 
    112112                                { 
    113113                                        // Valid path