PHP3 fixes and coding standards
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2002-07-19 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* pdf_schema.php3; libraries/common.lib.php3: PHP3 fixes.
|
||||
* tbl_properties_structure.php3: coding standards.
|
||||
|
||||
2002-07-18 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* libraries/common.lib.php3, libraries/select_lang.lib.php3: Don't include
|
||||
the "real" config file if a developer edition exists.
|
||||
@@ -632,7 +636,6 @@ $Source$
|
||||
* Documentation.html line 593-770,1884-1920
|
||||
- added and changed Doku for Creating PDFs
|
||||
|
||||
|
||||
2002-06-02 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* libraries/display_tbl.inc.php3, line 1413: xhtml fix.
|
||||
* libraries/fpdf/fpdf.php3: light optimizations and fixes.
|
||||
|
@@ -81,10 +81,12 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
|
||||
* versions of phpMyAdmin/php/mysql...
|
||||
*/
|
||||
$old_error_reporting = error_reporting(0);
|
||||
if (!include($cfgfile_to_load)) {
|
||||
include($cfgfile_to_load);
|
||||
// Include failed
|
||||
if (!isset($cfgServers) && !isset($cfg['Servers'])) {
|
||||
// Creates fake settings
|
||||
$cfg = array('DefaultLang' => 'en');
|
||||
// Loads the laguage file
|
||||
// Loads the language file
|
||||
include('./libraries/select_lang.lib.php3');
|
||||
// Sends the Content-Type header
|
||||
header('Content-Type: text/html; charset=' . $charset);
|
||||
@@ -127,14 +129,14 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
||||
* if necessary
|
||||
*/
|
||||
if (!isset($cfg['FileRevision']) || (int) substr($cfg['FileRevision'], 13, 3) < 120) {
|
||||
require('./libraries/config_import.lib.php3');
|
||||
include('./libraries/config_import.lib.php3');
|
||||
}
|
||||
|
||||
/**
|
||||
* Includes the language file if it hasn't been included yet
|
||||
*/
|
||||
if (!defined('PMA_SELECT_LANG_LIB_INCLUDED')){
|
||||
require('./libraries/select_lang.lib.php3');
|
||||
include('./libraries/select_lang.lib.php3');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -547,7 +549,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
||||
// behaviour of auto-detection due to their setup.
|
||||
// See the mailing list message:
|
||||
// http://sourceforge.net/mailarchive/forum.php?thread_id=859093&forum_id=2141
|
||||
if ($cfg['PmaAbsoluteUri_DisableWarning'] === FALSE) {
|
||||
if ($cfg['PmaAbsoluteUri_DisableWarning'] == FALSE) {
|
||||
$display_pmaAbsoluteUri_warning = 1;
|
||||
}
|
||||
}
|
||||
|
@@ -547,15 +547,15 @@ echo "\n";
|
||||
<?php echo PMA_showDocuShort('p/r/procedure_analyse.html'); ?>
|
||||
</div>
|
||||
</li>
|
||||
<?php
|
||||
|
||||
<?php
|
||||
/**
|
||||
* Query box, bookmark, insert data from textfile
|
||||
*/
|
||||
$goto = 'tbl_properties_structure.php3';
|
||||
require('./tbl_query_box.php3');
|
||||
|
||||
?>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user