mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Missing exit()
This commit is contained in:
parent
fd4cefd991
commit
ead6c518b1
@ -24,7 +24,11 @@
|
|||||||
|
|
||||||
require_once('../../class2.php');
|
require_once('../../class2.php');
|
||||||
$e107 = e107::getInstance();
|
$e107 = e107::getInstance();
|
||||||
if (!$e107->isInstalled('calendar_menu')) header('Location: '.e_BASE.'index.php');
|
if (!$e107->isInstalled('calendar_menu'))
|
||||||
|
{
|
||||||
|
header('Location: '.e_BASE.'index.php');
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($_POST['viewallevents']))
|
if (isset($_POST['viewallevents']))
|
||||||
{ // Triggered from NAV_BUT_ALLEVENTS
|
{ // Triggered from NAV_BUT_ALLEVENTS
|
||||||
@ -928,12 +932,13 @@ unset($tim_arr);
|
|||||||
require_once(FOOTERF);
|
require_once(FOOTERF);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
function headerjs()
|
function headerjs()
|
||||||
{
|
{
|
||||||
global $cal;
|
global $cal;
|
||||||
$script = $cal->load_files();
|
$script = $cal->load_files();
|
||||||
return $script;
|
return $script;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user