private static function load($path)
    {
        $path = str_replace('.', '/', $path);

        $path = FULL_PATH . $path;

        if(substr($path, -4) != '.php')
        {
            $path = $path . '.php';
        }

        return $path;
    }
private static function load($path)
    {
        $path = str_replace('.', '/', $path);

        $path = FULL_PATH . $path;

        if(substr($path, -4) != '.php')
        {
            $path = $path . '.php';
        }

        return $path;
    }
private static function load ( $ path ) { $ path = str_replace ( '.' , '/' , $ path ) ; $ path = FULL_PATH . $ path ; if ( substr ( $ path , - 4 ) != '.php' ) { $ path = $ path . '.php' ; } return $ path ; }
Grab a file, while specifying an optional subdirectory of views.

@param string $file The path of file relative to /
@return string The full path to the file
Grab a file while specifying an optional subdirectory of views .