Dotclear


Ignore:
Timestamp:
08/16/12 13:43:56 (13 years ago)
Author:
Dsls <dsls@…>
Branch:
sexy
Message:

New "plugin" urlHandler. Enables plugins to expose public side files, by adding them to <plugin>/public directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/prepend.php

    r852 r876  
    204204$core->url->register('rsd','rsd','^rsd$',array('dcUrlHandlers','rsd')); 
    205205$core->url->register('xmlrpc','xmlrpc','^xmlrpc/(.+)$',array('dcUrlHandlers','xmlrpc')); 
     206$core->url->register('plugin','plugin','^plugin/(.+)$',array('dcUrlHandlers','pluginInclude')); 
    206207 
    207208$core->setPostType('post','post.php?id=%d',$core->url->getURLFor('post','%s')); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map