Translated using Weblate (French)
[phpmyadmin.git] / server_import.php
blob25d7c172e00c98cbad529f6dbed2280bae07c34e
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Server import page
6 * @package PhpMyAdmin
7 */
8 use PhpMyAdmin\Config\PageSettings;
9 use PhpMyAdmin\Display\Import;
10 use PhpMyAdmin\Response;
12 /**
15 require_once 'libraries/common.inc.php';
17 PageSettings::showGroup('Import');
19 $response = Response::getInstance();
20 $header = $response->getHeader();
21 $scripts = $header->getScripts();
22 $scripts->addFile('import.js');
24 /**
25 * Does the common work
27 require 'libraries/server_common.inc.php';
29 $response = Response::getInstance();
30 $response->addHTML(
31 Import::get(
32 'server', $db, $table, $max_upload_size