function include_get_root in Include 6
Same name and namespace in other branches
- 8 include.module \include_get_root()
- 7 include.module \include_get_root()
Returns the absolute path of the include files repository.
This defaults to conf_path() . '/files/include' but may be customized by setting the 'include_root' variable and/or the default files path.
3 calls to include_get_root()
- include_check_path in ./
include.module - Verifies or installs a file or directory into the include repository.
- include_clear_root in ./
include.module - Clear the include files repository from the include_path.
- include_set_root in ./
include.module - Appends the include files repository to the include_path.
File
- ./
include.module, line 26 - The Include module manages files on the include_files path.
Code
function include_get_root() {
return variable_get('include_root', realpath(file_directory_path()) . '/include');
}