Updated to latest version of CMS
This commit is contained in:
parent
ccdf8fbb81
commit
edf41b1198
76 changed files with 465 additions and 1162 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
<?php global $lang, $session, $db, $error;
|
||||
/**
|
||||
* Project: BeCast Webengine - simple site engine
|
||||
* Project: BeCast WebEngine - simple site engine
|
||||
* File: /admin/index.php
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
@ -18,18 +18,18 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* @link http://www.BeCast.at
|
||||
* @copyright 2009 becast.at
|
||||
* @copyright 2009-2025 becast.at
|
||||
* @author Bernhard Jaud <bernhard at becast dot at>
|
||||
* @package BeCast Webengine core
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
* @version $Id: index.php 100 2010-02-20 14:42:30Z genuineparts $
|
||||
* @version $Id$
|
||||
*/
|
||||
ERROR_REPORTING(E_ALL ^E_NOTICE);
|
||||
$basepath="";
|
||||
$nav_include="../";
|
||||
require_once dirname(dirname(__FILE__)).'/core/init_core.inc.php';
|
||||
require_once dirname(__FILE__, 2) .'/core/init_core.inc.php';
|
||||
$session->page_begin("Admincenter", True);
|
||||
define("in_BL_ADMIN",TRUE);
|
||||
define("IN_BCWE_ADMIN",TRUE);
|
||||
|
||||
function size_format($num, $prec = 2)
|
||||
{
|
||||
|
@ -41,7 +41,6 @@ function size_format($num, $prec = 2)
|
|||
return $num . ' bytes';
|
||||
}
|
||||
}
|
||||
|
||||
if(isset($session->userdata['uid']) && $session->userdata['uid']!=0 && ($session->userdata["admin_cp"] && $session->userdata["is_admin"])){
|
||||
require_once dirname(dirname(__FILE__)).'/inc/admin.class.php';
|
||||
require_once dirname(dirname(__FILE__)).'/inc/panel.class.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue