You are here

function filefield_paths_init in File (Field) Paths 5

Same name and namespace in other branches
  1. 6.2 filefield_paths.module \filefield_paths_init()

Implementation of hook_init().

File

./filefield_paths.module, line 60
Adds extra functionality to FileFields Path settings.

Code

function filefield_paths_init() {
  foreach (module_list() as $module) {
    if (file_exists($file = drupal_get_path('module', 'filefield_paths') . '/modules/' . $module . '.inc')) {
      require_once $file;
    }
  }
}