Добавление префикса к ключам в мемкэше
Open
Backend
beginner
- Dominant language
- PHP
- Stars
- 26
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
В файл `application/classes/Dao/MySQL/Base.php` надо добавить следующий код
```
protected $db_name = 'Database_Name';
```
```
public function __construct()
{
$config = Kohana::$config->load('database')->default;
$connection = $config['connection'];
$this->db_name = Arr::get($connection, 'database', $this->db_name);
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.