function messaging_include in Messaging 7
Same name and namespace in other branches
- 6.4 messaging.module \messaging_include()
Include module files as necessary.
The files must be in an 'includes' subfolder inside the module folder.
File
- ./
messaging.module, line 645
Code
function messaging_include($file, $module = 'messaging') {
static $included = array();
if (!isset($included[$module][$file])) {
require_once './' . drupal_get_path('module', $module) . '/includes/' . $file;
$included[$module][$file] = TRUE;
}
}