Refactoring of help.php
This commit is contained in:
parent
c7cd2d08fe
commit
c1161779dc
|
@ -1,31 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
|
||||||
* French HTML help file
|
|
||||||
*
|
|
||||||
* Copyright (c) 2004-2006 Evolix - Tous droits reserves
|
|
||||||
* $Id: help.php,v 1.4 2009-09-06 01:12:07 gcolpart Exp $
|
|
||||||
*
|
|
||||||
* @author Gregory Colpart <reg@evolix.fr>
|
|
||||||
* @version 1.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Load config and autoload class
|
// Load config and autoload class
|
||||||
require_once("lib/config.php");
|
require_once("lib/config.php");
|
||||||
|
|
||||||
// Force authentication on this page
|
// Force authentication on this page
|
||||||
require_once("lib/auth.php");
|
require_once("lib/auth.php");
|
||||||
|
|
||||||
/**
|
include('inc/haut.php');
|
||||||
* Path
|
include('inc/debut.php');
|
||||||
*/
|
|
||||||
define('EVOADMIN_BASE','./');
|
|
||||||
|
|
||||||
$rep = './';
|
|
||||||
require_once($rep. 'lib/common.php');
|
|
||||||
|
|
||||||
include($rep. 'inc/haut.php');
|
|
||||||
include($rep. 'inc/debut.php');
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -76,10 +58,4 @@ define('EVOADMIN_BASE','./');
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php include('inc/fin.php'); ?>
|
||||||
|
|
||||||
<?php
|
|
||||||
|
|
||||||
include EVOADMIN_BASE . 'inc/fin.php';
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
Loading…
Reference in a new issue