no more defined constant
This commit is contained in:
@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2003-12-02 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* libraries/display_tbl.lib.php: the constant used to check
|
||||||
|
if the transformation function is included no longer exists
|
||||||
|
* libraries/transformations/: replaced "include" by "require_once"
|
||||||
|
|
||||||
2003-11-28 Garvin Hicking <freakyfriday@supergarv.de>
|
2003-11-28 Garvin Hicking <freakyfriday@supergarv.de>
|
||||||
* main.php: Fixed one remaining preg_match
|
* main.php: Fixed one remaining preg_match
|
||||||
|
|
||||||
|
@@ -1241,7 +1241,7 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql)
|
|||||||
|
|
||||||
require_once('./libraries/transformations/' . $include_file);
|
require_once('./libraries/transformations/' . $include_file);
|
||||||
|
|
||||||
if (defined('PMA_TRANSFORMATION_' . strtoupper($transformfunction_name)) && function_exists('PMA_transformation_' . $transformfunction_name)) {
|
if (function_exists('PMA_transformation_' . $transformfunction_name)) {
|
||||||
$transform_function = 'PMA_transformation_' . $transformfunction_name;
|
$transform_function = 'PMA_transformation_' . $transformfunction_name;
|
||||||
$transform_options = PMA_transformation_getOptions((isset($GLOBALS['mime_map'][$meta->name]['transformation_options']) ? $GLOBALS['mime_map'][$meta->name]['transformation_options'] : ''));
|
$transform_options = PMA_transformation_getOptions((isset($GLOBALS['mime_map'][$meta->name]['transformation_options']) ? $GLOBALS['mime_map'][$meta->name]['transformation_options'] : ''));
|
||||||
$meta->mimetype = str_replace('_', '/', $GLOBALS['mime_map'][$meta->name]['mimetype']);
|
$meta->mimetype = str_replace('_', '/', $GLOBALS['mime_map'][$meta->name]['mimetype']);
|
||||||
|
Reference in New Issue
Block a user