Changeset 1730 for trunk/gregarius/cls

Show
Ignore:
Timestamp:
06/09/07 00:15:34 (16 months ago)
Author:
mbonetti
Message:

Rolled back [1727] because it kind of completely broke my installation.
Also, we don't wanna change existing permalinks, do we?

Location:
trunk/gregarius/cls
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/cls/channels.php

    r1727 r1730  
    8888 
    8989        if (getConfig('rss.output.usemodrewrite')) { 
    90             $this->rlink = getPath("/feed/".rss_uri($title)) . "/"; 
     90            $this->rlink = getPath(rss_uri($title)) . "/"; 
    9191        } else { 
    9292            $this->rlink = getPath()."feed.php?channel=$id"; 
     
    137137     
    138138    function makeFolderUrl($fn) { 
    139         return getPath("folder/". 
     139        return getPath( 
    140140            preg_replace('#\s#','_',sanitize($fn,RSS_SANITIZER_URL)) 
    141141        ) .'/'; 
  • trunk/gregarius/cls/wrappers/feed.php

    r1727 r1730  
    8484     
    8585    if (getConfig('rss.output.usemodrewrite')) { 
    86         return getPath()."/feed/".$GLOBALS['rss']->currentFeed->escapedTitle ."/"; 
     86        return getPath().$GLOBALS['rss']->currentFeed->escapedTitle ."/"; 
    8787    }  
    8888    return getPath()."feed.php?channel=".$GLOBALS['rss']->currentFeed->cid ; 
  • trunk/gregarius/cls/wrappers/item.php

    r1727 r1730  
    5757    if ($GLOBALS['rss'] -> currentItem ->escapedTitle != "" && getConfig('rss.output.usemodrewrite')) { 
    5858        return getPath() 
    59             ."/item/".$GLOBALS['rss'] -> currentItem -> parent->escapedTitle 
     59            .$GLOBALS['rss'] -> currentItem -> parent->escapedTitle 
    6060            ."/$ply/$plm/$pld/" 
    6161            .$GLOBALS['rss'] -> currentItem -> escapedTitle;