You are here

function _bg_image_path_is_admin in Background Images 6

Returns true if the current page is an 'admin' page

1 call to _bg_image_path_is_admin()
bg_image_add_background_image in ./bg_image.module
Adds a background image to the page using the css 'background' property.

File

./bg_image.module, line 608
Allows for customizable background images per page

Code

function _bg_image_path_is_admin() {
  if (arg(0) == 'admin') {
    return TRUE;
  }
  else {
    return FALSE;
  }
}