forked from RobinCK/kasseler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.php
29 lines (28 loc) · 807 Bytes
/
admin.php
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
<?php
/**
* Файл админ панели
*
* @author Igor Ognichenko
* @copyright Copyright (c)2007-2010 by Kasseler CMS
* @link http://www.kasseler-cms.net/
* @filesource admin.php
* @version 2.0
*/
define('KASSELERCMS', true);
define("ADMIN_FILE", true);
define('E__SESSION__', true);
define('E__TEMPLATES__', true);
define('E__DATABASECONF___', true);
define('E__DATABASE__', true);
define('E__CORE__', true);
define('E__PLUGINS__', true);
require_once "includes/function/init.php";
if(isset($_SESSION['cache_session_user'])) unset($_SESSION['cache_session_user']);
if(!is_ajax()){
$contents = $template->tpl_create(true);
main::required("includes/nocache.php");
gz($contents);
} else {
if(isset($_GET['loadinfo'])) $tpl_create->block_info(); else $tpl_create->admin_content();
}
?>