Commit | Line | Data |
---|---|---|
1edd3efc | 1 | <?php |
9b56dd4e FB |
2 | define('IS_PUBLIC_PAGE', 1); |
3 | ||
b519995b | 4 | require_once dirname(__FILE__) . '/page.auth.php'; |
b519995b | 5 | require_once dirname(__FILE__) . '/widget.auth.php'; |
d387689d | 6 | require_once dirname(__FILE__) . '/widget.post.perms.php'; |
f525ba66 | 7 | require_once dirname(__FILE__) . '/class.xorg.auth.php'; |
5322432c | 8 | require_once dirname(__FILE__) . '/page.webservice.php'; |
b519995b | 9 | |
5322432c FB |
10 | /* Xorg auth */ |
11 | $core->url->register('xorgAuth', 'XorgAuth', '^auth/(.*)$', array('xorgAuthentifier', 'doAuth')); | |
1edd3efc | 12 | |
5322432c | 13 | /* Post permission handling */ |
d387689d | 14 | $core->addBehavior('coreBlogGetPosts', array('xorgPostPermsWidget', 'behavior_coreBlogGetPosts')); |
5322432c FB |
15 | |
16 | /* Webservice to create new blog */ | |
17 | $core->url->register('xorgWebservice', 'XorgWebservice', '^xorgservice/(.*)$', array('XorgWebservice', 'handle')); | |
1edd3efc | 18 | ?> |