index.php 341 B

12345678910111213141516
  1. <?php
  2. require_once(dirname(__FILE__).'/header.php');
  3. Plugin::callHook("index_pre_treatment", array(&$_));
  4. if(!$myUser){
  5. $view = 'login';
  6. }else{
  7. $view = 'index';
  8. if($conf->get('HOME_PAGE') != '' && $conf->get('HOME_PAGE')!='index.php')
  9. header('location: '.$conf->get('HOME_PAGE'));
  10. }
  11. require_once(dirname(__FILE__).'/footer.php');
  12. ?>