Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
unauthorized.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
5  * @package FDL
6 */
7 /**
8  * unauthorized function for the unauthorized layout
9  *
10  * @author Anakeen 2009
11  * @version $Id: unauthorized.php,v 1.4 2009/01/16 13:33:00 jerome Exp $
12  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13  * @package FDL
14  * @subpackage
15  */
16 /**
17  */
18 
20 {
21  $action->lay->set("msg", "Vous n'êtes pas autorisé à consulter cette ressource.");
22 
23  echo $action->lay->gen();
24 
25  $action->session->close();
26 
27  exit(0);
28 }
29 ?>
← centre documentaire © anakeen - published under CC License - Dynacase