We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
В файл application/classes/Dao/MySQL/Base.php надо добавить следующий код
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); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
В файл
application/classes/Dao/MySQL/Base.php
надо добавить следующий кодThe text was updated successfully, but these errors were encountered: