Remove direct access to libraries/entry_points/table/structure.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
aec0402679
commit
e677cf3c15
@ -12,15 +12,13 @@ use PhpMyAdmin\Controllers\Table\StructureController;
|
||||
use PhpMyAdmin\DatabaseInterface;
|
||||
use Symfony\Component\DependencyInjection\Definition;
|
||||
|
||||
if (! defined('ROOT_PATH')) {
|
||||
define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
|
||||
if (! defined('PHPMYADMIN')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
global $containerBuilder, $db_is_system_schema, $tbl_is_view, $tbl_storage_engine;
|
||||
global $table_info_num_rows, $tbl_collation, $showtable;
|
||||
|
||||
require_once ROOT_PATH . 'libraries/common.inc.php';
|
||||
|
||||
/** @var DatabaseInterface $dbi */
|
||||
$dbi = $containerBuilder->get('dbi');
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user