- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경 - DB 연결 하드코딩 → .env 기반으로 변경 - MySQL strict mode DATE 오류 수정
32 lines
557 B
PHP
32 lines
557 B
PHP
<?php
|
|
/**
|
|
* Interface for the import->upload plugins
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Plugins;
|
|
|
|
/**
|
|
* Provides a common interface that will have to implemented by all of the
|
|
* import->upload plugins.
|
|
*/
|
|
interface UploadInterface
|
|
{
|
|
/**
|
|
* Gets the specific upload ID Key
|
|
*
|
|
* @return string ID Key
|
|
*/
|
|
public static function getIdKey();
|
|
|
|
/**
|
|
* Returns upload status.
|
|
*
|
|
* @param string $id upload id
|
|
*
|
|
* @return array|null
|
|
*/
|
|
public static function getUploadStatus($id);
|
|
}
|