Commit 8df939f4 authored by frjo's avatar frjo
Browse files

Issue #1145744 by fago: Dont load Colorbox during installation.

parent 5c70f8a7
......@@ -53,7 +53,11 @@ function colorbox_theme() {
* Implements hook_init().
*/
function colorbox_init() {
_colorbox_doheader();
// Do not load colorbox during the Drupal installation process, e.g. if part
// of installation profiles.
if (!drupal_installation_attempted()) {
_colorbox_doheader();
}
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment