Location: PHPKode > projects > Changelog > changelog/admin/admin_header.php
<?php
/*
	Changelog
	~~~~~~~~~~
	Author	: Thomas Whitecotton
	Email	: hide@address.com
	Website	: http://www.ciamosbase.com

*/
include("../../../mainfile.php");

include_once(SYS_ROOT_PATH."/class/sysmodule.php");
include_once(SYS_ROOT_PATH.'/include/functions.php');
include(SYS_ROOT_PATH."/include/cp_functions.php");

if ( $sysUser ) {
	$sysModule = SysModule::getByDirname("changelog");
	if ( !$sysUser->isAdmin($sysModule->mid()) ) { 
		redirect_header(SYS_URL."/",3,_NOPERM);
		exit();
	}
} else {
	redirect_header(SYS_URL."/",3,_NOPERM);
	exit();
}

if ( file_exists("../language/".$sysConfig['language']."/global.php") ) {
	include("../language/".$sysConfig['language']."/global.php");
} else {
	include("../language/english/global.php");
}
?>
Return current item: Changelog