You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
691 B
26 lines
691 B
<?php
|
|
|
|
/**
|
|
* Install database. With logging.
|
|
*
|
|
* @copyright (c) 2012 University of Geneva
|
|
* @license GNU General Public License - http://www.gnu.org/copyleft/gpl.html
|
|
* @author Laurent Opprecht <laurent@opprecht.info>
|
|
*/
|
|
class iDatabase extends Database
|
|
{
|
|
|
|
static function select_db($database_name, $connection = null)
|
|
{
|
|
Log::notice(__FUNCTION__ . ' ' . $database_name, Log::frame(1));
|
|
parent::select_db($database_name, $connection);
|
|
}
|
|
|
|
static function query($query, $connection = null, $file = null, $line = null)
|
|
{
|
|
Log::notice(__FUNCTION__ . ' ' . $query, Log::frame(1));
|
|
|
|
parent::query($query, $connection, $file, $line);
|
|
}
|
|
|
|
} |