| Versionen | |
|---|---|
| drupal6 | db_set_active( |
| drupal7 | db_set_active($key = 'default') |
Sets a new active database.
$key The key in the $databases array to set as the default database.
s The key of the formerly active database.
includes/
<?php
function db_set_active($key = 'default') {
return Database::setActiveConnection($key);
}
?>
Kommentare
Kommentar hinzufügen