• Previous message: [greg-dev] theme path
  • Next message: [greg-dev] IRC
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] theme path

    > > Another question I've got - is there a possibilty to get the 'siteurl' -
    > >  which is the root-url of gregarius e.g.: rss.foo-bar.net or
    > > www.foo-bar.net/rss
    > >
    > 
    > Yes:
    > 
    > guessTransportProto().$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']);
    > 
    > This is used in cls/header.php:68, for example.
    > 
    
    There is also a new wrapper function for plugins
    
    rss_plugins_get_plugins_http_path()  that tells you what the path is for
    the plugins directory. 
    
    Sameer
    
    Posted by Sameer D'Costa [reply] at Tue Dec 6 20:34:47 CET 2005