Protection dashboard
This commit is contained in:
parent
e29e1b70d9
commit
f41d4c9602
@ -1,3 +1,14 @@
|
||||
<?php
|
||||
|
||||
if ( !( $_SESSION['connected'] &&
|
||||
(
|
||||
$_SESSION['tabInfo']['login']=='mricois' ||
|
||||
$_SESSION['tabInfo']['login']=='mheitz' ||
|
||||
$_SESSION['tabInfo']['login']=='jmartory' ||
|
||||
$_SESSION['tabInfo']['login']=='ylenaour' ||
|
||||
$_SESSION['tabInfo']['login']=='fzicaro'
|
||||
)
|
||||
)
|
||||
){
|
||||
print '';
|
||||
}
|
||||
?>
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
require_once 'auth.php';
|
||||
require_once 'dbbootstrap.php';
|
||||
require_once 'includes/path.php';
|
||||
|
||||
@ -29,7 +30,6 @@ require_once 'includes/path.php';
|
||||
<div class="clear-block">
|
||||
<?php
|
||||
$modules = arg(0,$_REQUEST['q']);
|
||||
|
||||
switch($modules){
|
||||
case 'graydon':
|
||||
require_once './modules/graydon/graydon.php';
|
||||
|
Loading…
Reference in New Issue
Block a user