Move common.php to lib dir

This commit is contained in:
Victor Laborie 2017-10-12 21:30:10 +02:00
parent 3a9ef4b9b9
commit 88ec0edd50
8 changed files with 7 additions and 13 deletions

View file

@ -52,7 +52,7 @@ if (isset($_SESSION['login'])) {
/**
* Requires
*/
require_once EVOADMIN_BASE . 'common.php';
require_once EVOADMIN_BASE . 'lib/common.php';
include EVOADMIN_BASE . 'haut.php';

View file

@ -23,7 +23,7 @@ session_start();
if (isset($_SESSION['login']))
{
require_once EVOADMIN_BASE . 'common.php';
require_once EVOADMIN_BASE . 'lib/common.php';
include EVOADMIN_BASE . 'haut.php';

View file

@ -18,7 +18,7 @@ define('EVOADMIN_BASE','./');
/**
* Requires
*/
require_once EVOADMIN_BASE . 'common.php';
require_once EVOADMIN_BASE . 'lib/common.php';
/*
* Functions

View file

@ -31,7 +31,7 @@ if (isset($_SESSION['login']))
/**
* Requires
*/
require_once EVOADMIN_BASE . 'common.php';
require_once EVOADMIN_BASE . 'lib/common.php';
include EVOADMIN_BASE . 'haut.php';
include EVOADMIN_BASE . 'debut.php';

View file

@ -26,7 +26,7 @@ if (isset($_SESSION['login'])) {
/**
* Requires
*/
require_once EVOADMIN_BASE . 'common.php';
require_once EVOADMIN_BASE . 'lib/common.php';
// $login var need for debut.php
$login = $_SESSION['login'];

View file

@ -25,7 +25,7 @@ if (isset($_SESSION['login']))
{
$rep = './';
require_once($rep. 'common.php');
require_once($rep. 'lib/common.php');
include($rep. 'haut.php');

View file

@ -19,12 +19,6 @@ function test_exist($file) {
}
}
// We verify if 'install/' directory is removed
if (file_exists('install')) {
die("Erreur 001 : logiciel non installe ou repertoire 'install/' non
supprime !");
}
/**
* Includes
*/

View file

@ -61,7 +61,7 @@ if (isset($_SESSION['login'])) {
/**
* Requires
*/
require_once EVOADMIN_BASE . 'common.php';
require_once EVOADMIN_BASE . 'lib/common.php';
include EVOADMIN_BASE . 'haut.php';