Calling all Drupal developers!
Help us get this on the first page of Digg. DIGG NOW!
Help us get this on the first page of Digg. DIGG NOW!
token_include()
contributions/token/token.module, line 110
General function to include the files that token relies on for the real work.
<?php
function token_include() {
$path = drupal_get_path('module', 'token');
require_once("$path/token_node.inc");
require_once("$path/token_user.inc");
if (module_exists('content')) {
// Temporarily commenting this out until CCK is released.
// We'll need to rework some of this code then.
// require_once("$path/token_cck.inc");
}
if (module_exists('taxonomy')) {
require_once("$path/token_taxonomy.inc");
}
if (module_exists('comment')) {
require_once("$path/token_comment.inc");
}
}
?>