{php}> $mod = $GLOBALS['xoopsModule']; $dirname = (isset($mod) ? $mod->getVar('dirname') :'system'); $GLOBALS['xoopsTpl']->assign('xoops_cmod', $dirname ); ini_set('url_rewriter.tags', ''); <{/php}>