diff --git a/db_sql.php b/db_sql.php index 0612aa75ba..d0235075bf 100644 --- a/db_sql.php +++ b/db_sql.php @@ -16,6 +16,8 @@ if (! defined('ROOT_PATH')) { define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR); } +global $containerBuilder; + require_once ROOT_PATH . 'libraries/common.inc.php'; /** @var Response $response */ diff --git a/sql.php b/sql.php index 36a04a52d1..15f4152bc3 100644 --- a/sql.php +++ b/sql.php @@ -22,7 +22,7 @@ if (! defined('ROOT_PATH')) { define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR); } -global $cfg, $pmaThemeImage; +global $cfg, $containerBuilder, $pmaThemeImage; require_once ROOT_PATH . 'libraries/common.inc.php'; diff --git a/tbl_change.php b/tbl_change.php index 3ce05eac0d..35bff5c8ab 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -19,7 +19,7 @@ if (! defined('ROOT_PATH')) { define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR); } -global $cfg, $db, $table, $text_dir; +global $cfg, $containerBuilder, $db, $table, $text_dir; require_once ROOT_PATH . 'libraries/common.inc.php'; diff --git a/tbl_export.php b/tbl_export.php index b70966a6cd..6fec76b340 100644 --- a/tbl_export.php +++ b/tbl_export.php @@ -17,7 +17,7 @@ if (! defined('ROOT_PATH')) { define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR); } -global $db, $url_query; +global $containerBuilder, $db, $url_query; require_once ROOT_PATH . 'libraries/common.inc.php'; diff --git a/tbl_replace.php b/tbl_replace.php index 74a872ab3c..8e6ac76202 100644 --- a/tbl_replace.php +++ b/tbl_replace.php @@ -29,7 +29,7 @@ if (! defined('ROOT_PATH')) { define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR); } -global $db, $table, $url_params; +global $containerBuilder, $db, $table, $url_params; require_once ROOT_PATH . 'libraries/common.inc.php'; diff --git a/tbl_select.php b/tbl_select.php index af63aeb766..23b2ad295a 100644 --- a/tbl_select.php +++ b/tbl_select.php @@ -17,7 +17,7 @@ if (! defined('ROOT_PATH')) { define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR); } -global $url_query; +global $containerBuilder, $url_query; require_once ROOT_PATH . 'libraries/common.inc.php'; require_once ROOT_PATH . 'libraries/tbl_common.inc.php'; diff --git a/tbl_sql.php b/tbl_sql.php index cb1cf82f93..35dacd21ec 100644 --- a/tbl_sql.php +++ b/tbl_sql.php @@ -16,6 +16,8 @@ if (! defined('ROOT_PATH')) { define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR); } +global $containerBuilder; + require_once ROOT_PATH . 'libraries/common.inc.php'; /** @var Response $response */