You are here

function spaces_init in Spaces 5.2

Same name and namespace in other branches
  1. 6.3 spaces.module \spaces_init()
  2. 6 spaces.module \spaces_init()
  3. 6.2 spaces.module \spaces_init()
  4. 7.3 spaces.module \spaces_init()
  5. 7 spaces.module \spaces_init()

Implementation of hook_init().

File

./spaces.module, line 11

Code

function spaces_init() {
  if (strpos($_GET['q'], 'admin/build/spaces') === 0) {
    include_once drupal_get_path('module', 'spaces') . '/spaces_admin.inc';
  }
}