- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경 - DB 연결 하드코딩 → .env 기반으로 변경 - MySQL strict mode DATE 오류 수정
31 lines
552 B
PHP
31 lines
552 B
PHP
<?php
|
|
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
|
/**
|
|
* Holds the PhpMyAdmin\Controllers\DatabaseController
|
|
*
|
|
* @package PhpMyAdmin\Controllers
|
|
*/
|
|
namespace PhpMyAdmin\Controllers;
|
|
|
|
/**
|
|
* Handles database related logic
|
|
*
|
|
* @package PhpMyAdmin\Controllers
|
|
*/
|
|
abstract class DatabaseController extends Controller
|
|
{
|
|
/**
|
|
* @var string $db
|
|
*/
|
|
protected $db;
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public function __construct($response, $dbi, $db)
|
|
{
|
|
parent::__construct($response, $dbi);
|
|
$this->db = $db;
|
|
}
|
|
}
|