From c1161779dc65134b4d880eb3b2c6ad79f739a7d8 Mon Sep 17 00:00:00 2001 From: Victor LABORIE Date: Fri, 15 Dec 2017 11:49:46 +0100 Subject: [PATCH] Refactoring of help.php --- htdocs/help.php | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) diff --git a/htdocs/help.php b/htdocs/help.php index d684b8a..26c670a 100644 --- a/htdocs/help.php +++ b/htdocs/help.php @@ -1,31 +1,13 @@ - * @version 1.0 - */ - // Load config and autoload class require_once("lib/config.php"); // Force authentication on this page require_once("lib/auth.php"); -/** - * Path - */ -define('EVOADMIN_BASE','./'); - - $rep = './'; - require_once($rep. 'lib/common.php'); - - include($rep. 'inc/haut.php'); - include($rep. 'inc/debut.php'); +include('inc/haut.php'); +include('inc/debut.php'); ?> @@ -76,10 +58,4 @@ define('EVOADMIN_BASE','./'); - - - +