Check if a session exists before starting one.
[dotclear.git] / _public.php
1 <?php
2 require_once dirname(__FILE__) . '/page.auth.php';
3 require_once dirname(__FILE__) . '/widget.auth.php';
4 require_once dirname(__FILE__) . '/widget.post.perms.php';
5
6 $core->url->register('xorgAuth', 'Xorg', '^auth/(.*)$', array('xorgAuthentifier', 'doAuth'));
7
8 $core->addBehavior('coreBlogGetPosts', array('xorgPostPermsWidget', 'behavior_coreBlogGetPosts'));
9 ?>