Files
sam-kd/dbeditor/schema_export.php
hskwon aca1767eb9 초기 커밋: 5130 레거시 시스템
- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경
- DB 연결 하드코딩 → .env 기반으로 변경
- MySQL strict mode DATE 오류 수정
2025-12-10 20:14:31 +09:00

34 lines
659 B
PHP

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Schema export handler
*
* @package PhpMyAdmin
*/
use PhpMyAdmin\Export;
use PhpMyAdmin\Relation;
use PhpMyAdmin\Util;
/**
* Gets some core libraries
*/
require_once 'libraries/common.inc.php';
/**
* get all variables needed for exporting relational schema
* in $cfgRelation
*/
$relation = new Relation();
$cfgRelation = $relation->getRelationsParam();
if (! isset($_REQUEST['export_type'])) {
Util::checkParameters(array('export_type'));
}
/**
* Include the appropriate Schema Class depending on $export_type
* default is PDF
*/
Export::processExportSchema($_REQUEST['export_type']);