- common.lib.php should REALLY REALLY and ALWAYS be the first include

- no other calls to grab_gloabls.lib.php
This commit is contained in:
Sebastian Mendel
2005-11-18 13:02:36 +00:00
parent fcf387bc70
commit ec0013dbf6
7 changed files with 1 additions and 12 deletions

View File

@@ -19,6 +19,7 @@ $Source$
- do not truncate rowcount and next autoindex
* /*
- common.lib.php should REALLY REALLY and ALWAYS be the first include
- no other calls to grab_gloabls.lib.php
2005-11-17 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html: patch #1353283, thanks to Isaac Bennetch

View File

@@ -4,7 +4,6 @@
chdir('..');
$is_minimum_common = TRUE;
require_once('./libraries/grab_globals.lib.php');
require_once('./libraries/common.lib.php');
require_once('./libraries/sqlparser.lib.php');

View File

@@ -4,7 +4,6 @@
/**
* forms frameset
*
* @uses libraries/grab_globals.lib.php import variables
* @uses libraries/common.lib.php global fnctions
* @uses libraries/select_theme.lib.php theme manager
* @uses libraries/relation.lib.php table relations

View File

@@ -48,7 +48,6 @@
*/
// grab_globals.lib.php should really go before common.lib.php
// TODO: remove direct calling from elsewhere
require_once('./libraries/grab_globals.lib.php');
/**

View File

@@ -7,13 +7,6 @@
* phpMyAdmin Language Loading File
*/
/**
* We need some elements of the superglobal $_SERVER array.
*/
require_once('./libraries/grab_globals.lib.php');
/**
* Define the path to the translations directory and get some variables
* from system arrays if 'register_globals' is set to 'off'

View File

@@ -31,7 +31,6 @@
/**
* We need some elements of the superglobal $_SERVER array.
*/
require_once('./libraries/grab_globals.lib.php');
global $PHP_SELF;
/**
* theme manager

View File

@@ -16,7 +16,6 @@ define('PMA_DISPLAY_HEADING', 0);
/**
* Gets some core libraries and displays a top message if required
*/
require_once('./libraries/grab_globals.lib.php');
require_once('./libraries/common.lib.php');
require_once('./header.inc.php');
require_once('./libraries/relation.lib.php');