You are here

function colorbox_init in Colorbox 6

Same name and namespace in other branches
  1. 7.2 colorbox.module \colorbox_init()
  2. 7 colorbox.module \colorbox_init()

Implementation of hook_init().

File

./colorbox.module, line 49
A light-weight, customizable lightbox plugin for jQuery 1.3

Code

function colorbox_init() {

  // Install and update pages are treated differently to prevent theming overrides.
  if (defined('MAINTENANCE_MODE') && (MAINTENANCE_MODE == 'install' || MAINTENANCE_MODE == 'update')) {
    return;
  }
  _colorbox_doheader();
}