fixed minimum_common for css files
This commit is contained in:
@@ -20,6 +20,7 @@ $Source$
|
||||
* /*
|
||||
- common.lib.php should REALLY REALLY and ALWAYS be the first include
|
||||
- no other calls to grab_gloabls.lib.php
|
||||
* fixed minimum_common for css files
|
||||
|
||||
2005-11-17 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* Documentation.html: patch #1353283, thanks to Isaac Bennetch
|
||||
|
@@ -3,7 +3,7 @@
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
chdir('..');
|
||||
$is_minimum_common = TRUE;
|
||||
define( 'PMA_MINIMUM_COMMON', TRUE );
|
||||
require_once('./libraries/common.lib.php');
|
||||
require_once('./libraries/sqlparser.lib.php');
|
||||
|
||||
|
@@ -55,13 +55,6 @@ require_once('./libraries/grab_globals.lib.php');
|
||||
*/
|
||||
$GLOBALS['PMA_errors'] = array();
|
||||
|
||||
/**
|
||||
* Minimum inclusion? (i.e. for the stylesheet builder)
|
||||
*/
|
||||
if (!isset($is_minimum_common)) {
|
||||
$is_minimum_common = FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Avoids undefined variables
|
||||
*/
|
||||
@@ -203,7 +196,7 @@ if (isset($convcharset)) {
|
||||
$convcharset = PMA_sanitize($convcharset);
|
||||
}
|
||||
|
||||
if ($is_minimum_common == FALSE) {
|
||||
if ( ! defined( 'PMA_MINIMUM_COMMON' ) ) {
|
||||
/**
|
||||
* Define $is_upload
|
||||
*/
|
||||
@@ -412,7 +405,7 @@ if (isset($_COOKIE) && !empty($_COOKIE['pma_collation_connection']) && empty($_P
|
||||
}
|
||||
|
||||
|
||||
if ($is_minimum_common == FALSE) {
|
||||
if ( ! defined( 'PMA_MINIMUM_COMMON' ) ) {
|
||||
/**
|
||||
* Include URL/hidden inputs generating.
|
||||
*/
|
||||
@@ -1177,7 +1170,7 @@ function PMA_setFontSizes()
|
||||
} // end of the 'PMA_setFontSizes()' function
|
||||
|
||||
|
||||
if ($is_minimum_common == FALSE) {
|
||||
if ( ! defined( 'PMA_MINIMUM_COMMON' ) ) {
|
||||
/**
|
||||
* $cfg['PmaAbsoluteUri'] is a required directive else cookies won't be
|
||||
* set properly and, depending on browsers, inserting or updating a
|
||||
|
@@ -34,12 +34,7 @@
|
||||
/**
|
||||
* Minimum inclusion? (i.e. for the stylesheet builder)
|
||||
*/
|
||||
|
||||
if (!isset($is_minimum_common)) {
|
||||
$is_minimum_common = FALSE;
|
||||
}
|
||||
|
||||
if ($is_minimum_common == FALSE) {
|
||||
if ( ! defined( 'PMA_MINIMUM_COMMON' ) ) {
|
||||
/**
|
||||
* Include the string library as we use it heavily
|
||||
*/
|
||||
@@ -2303,7 +2298,7 @@ function PMA_SQP_buildCssData()
|
||||
return $css_string;
|
||||
} // end of the "PMA_SQP_buildCssData()" function
|
||||
|
||||
if ($is_minimum_common == FALSE) {
|
||||
if ( ! defined( 'PMA_MINIMUM_COMMON' ) ) {
|
||||
/**
|
||||
* Gets SQL queries with no format
|
||||
*
|
||||
|
Reference in New Issue
Block a user