초기 커밋: 5130 레거시 시스템
- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경 - DB 연결 하드코딩 → .env 기반으로 변경 - MySQL strict mode DATE 오류 수정
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user