aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/index.php
blob: 6db3d23e756ed33157b670b6512fc87c03cb98d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/* 
    MaYoR http://www.mayor.hu./ 
    License: LICENSE.txt
*/
    @error_reporting(E_ERROR | E_WARNING | E_PARSE);
    require('include/base/config.php');    
    require('include/base/mysql.php');
    require('include/base/var.php');
    require('include/base/base.php');
    require('include/base/cache.php');
    require('include/base/str.php');
    require('include/base/log.php');
    require('include/alert/base.php');
    if ( defined('__TESTERRORREPORTER') && __TESTERRORREPORTER===true) require('include/base/error.php');    
    require('include/base/rights.php');
    require('include/base/login.php');
    require('include/menu/base.php') ;
    /* --- */
    require('skin/default/base/html/base.phtml');
    if (file_exists("skin/$skin/base/html/alert.phtml")) {
        require("skin/$skin/base/html/alert.phtml");
    } else {
        require('skin/'._DEFAULT_SKIN.'/base/html/alert.phtml');
    }
    if (file_exists("skin/$skin/base/html/base.phtml")) {
        require("skin/$skin/base/html/base.phtml");
    } else {
        require('skin/'._DEFAULT_SKIN.'/base/html/base.phtml');
    }
    html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU);

?>