Fixed table presentations with new bootstrap, added HTML::abbr(), added public access to Database::config(), enabled DB compression to be disabled in database.php

This commit is contained in:
Deon George
2016-05-03 11:01:28 +10:00
parent 113597f9eb
commit 8f659c50c6
13 changed files with 126 additions and 226 deletions

View File

@@ -12,7 +12,14 @@
* @license http://dev.leenooks.net/license.html
*/
abstract class lnApp_Database extends Kohana_Database {
public function caching() {
return $this->_config['caching'];
/**
* Return a database configuration setting
*
* @param string Configuration value to return
* @return string|NULL Value of setting or NULL if it doesnt exist
*/
public function config($key) {
return isset($this->_config[$key]) ? $this->_config[$key] : NULL;
}
}
?>