You are here

function date_load in Date 5

Helper to include large files only when needed.

File

./date_api.module, line 63
A module that will make the date API available to other modules with no dependencies on CCK. To use it, install the module, then add the following code wherever date api functions are needed:

Code

function date_load($file) {
  include_once './' . drupal_get_path('module', 'date_api') . '/' . $file;
}