Declare globals in some entry points
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
f5d6f6cad3
commit
ac886e6e14
@ -22,7 +22,7 @@ if (! defined('PHPMYADMIN')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
global $containerBuilder;
|
||||
global $containerBuilder, $cf, $form_param, $form_class, $form_display, $url_params, $error, $tabHash, $hash;
|
||||
|
||||
/** @var Template $template */
|
||||
$template = $containerBuilder->get('template');
|
||||
|
||||
@ -23,7 +23,8 @@ if (! defined('PHPMYADMIN')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
global $containerBuilder;
|
||||
global $containerBuilder, $cf, $error, $filename, $import_handle, $json;
|
||||
global $new_config, $config, $return_url, $form_display, $all_ok, $params, $query;
|
||||
|
||||
/** @var Template $template */
|
||||
$template = $containerBuilder->get('template');
|
||||
|
||||
@ -17,7 +17,9 @@ if (! defined('PHPMYADMIN')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
global $cn, $containerBuilder, $db, $table, $transform_key;
|
||||
global $cn, $containerBuilder, $db, $table, $transform_key, $request_params, $size_params, $where_clause, $row;
|
||||
global $default_ct, $mime_map, $mime_options, $ct, $mime_type, $srcImage, $srcWidth, $srcHeight;
|
||||
global $ratioWidth, $ratioHeight, $destWidth, $destHeight, $destImage;
|
||||
|
||||
define('IS_TRANSFORMATION_WRAPPER', true);
|
||||
|
||||
|
||||
@ -21,7 +21,9 @@ if (! defined('PHPMYADMIN')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
global $containerBuilder, $text_dir;
|
||||
global $containerBuilder, $text_dir, $url_params, $view_algorithm_options, $view_with_options, $view_security_options;
|
||||
global $message, $sep, $sql_query, $arr, $view_columns, $column_map, $systemDb, $pma_transformation_data;
|
||||
global $new_transformations_sql, $view, $item, $parts;
|
||||
|
||||
require ROOT_PATH . 'libraries/db_common.inc.php';
|
||||
|
||||
|
||||
@ -21,7 +21,8 @@ if (! defined('PHPMYADMIN')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
global $containerBuilder, $sql_query, $url_query, $url_params;
|
||||
global $containerBuilder, $sql_query, $url_query, $url_params, $reload, $result, $warning_messages;
|
||||
global $drop_view_url_params, $db, $table;
|
||||
|
||||
/** @var Response $response */
|
||||
$response = $containerBuilder->get(Response::class);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user