Commit 5e1d40a4 authored by Laurent Joly's avatar Laurent Joly
Browse files

Update maintenance_accueil.php

parent 047259d7
<?php
/**
* accueil de la section maintenance
* @Version $Id$
* @Projet LCS / SambaEdu
* @auteurs Laurent Joly
* @note
* @Licence Distribue sous la licence GPL
*/
/**
* @Repertoire: dhcp
* file: maintenance_accueil.php
*/
// loading libs and init
include "entete.inc.php";
include "ihm.inc.php";
include "wpkg_lib.php";
include "wpkg_libsql.php";
$login = isauth();
if (! $login) {
echo "<script language=\"JavaScript\" type=\"text/javascript\">\n<!--\n";
$request = '/wpkg/index.php';
echo "top.location.href = '/auth.php?request=" . rawurlencode($request) . "';\n";
echo "//-->\n</script>\n";
exit();
}
if (! have_right($config, "computer_is_admin"))
die(gettext("Vous n'avez pas les droits suffisants pour acc&#233;der &#224; cette fonction") . "</BODY></HTML>");
// HTMLpurifier
$conf = HTMLPurifier_Config::createDefault();
$purifier = new HTMLPurifier($conf);
$page_id=0;
include("maintenance_top.php");
include ("pdp.inc.php");
?>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment