JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
only use lesscss when local
[wfpl-cms.git] / admin.php
1 <?php
2
3 require_once('code/wfpl/session.php');
4
5 function admin_main() {
6         if(!logged_in_as_admin()) {
7                 $_REQUEST['url'] = this_url();
8                 return 'admin_login';
9         }
10         tem_set('this_host', this_host());
11 }