You are here

function fast_404_enable in Fast 404 6

Same name and namespace in other branches
  1. 7 fast_404.install \fast_404_enable()

Implementation of hook_enable().

File

./fast_404.install, line 6

Code

function fast_404_enable() {
  $bootstrap = 1;
  $weight = -1000;
  $type = 'module';
  $name = 'fast_404';
  db_query("UPDATE {system} SET bootstrap = %d, weight = %d WHERE name = '%s' AND type = '%s'", $bootstrap, $weight, $name, $type);
}