Protection dashboard

This commit is contained in:
Michael RICOIS 2009-05-14 09:59:15 +00:00
parent e29e1b70d9
commit f41d4c9602
2 changed files with 13 additions and 2 deletions

View File

@ -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 '';
}
?>

View File

@ -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';