You are here

function include_init in Include 7

Same name and namespace in other branches
  1. 8 include.module \include_init()
  2. 6 include.module \include_init()

Implements hook_init().

Add the include files repository to the include_files path, if needed.

See also

include_set_root(), include_clear_root()

File

./include.module, line 14
The Include module manages files on the include_files path.

Code

function include_init() {
  if (variable_get('include_set_root', FALSE)) {
    include_set_root();
  }
}