3 // AUTO-GENERATED FILE -- This may be overwritten!
6 * (Delegated) Implementation of hook_civicrm_config
8 function _demoqueue_civix_civicrm_config(&$config) {
9 $template =& CRM_Core_Smarty
::singleton();
11 $extRoot = dirname( __FILE__
) . DIRECTORY_SEPARATOR
;
12 $extDir = $extRoot . 'templates';
14 if ( is_array( $template->template_dir
) ) {
15 array_unshift( $template->template_dir
, $extDir );
17 $template->template_dir
= array( $extDir, $template->template_dir
);
20 $include_path = $extRoot . PATH_SEPARATOR
. get_include_path( );
21 set_include_path( $include_path );
25 * (Delegated) Implementation of hook_civicrm_xmlMenu
27 * @param $files array(string)
29 function _demoqueue_civix_civicrm_xmlMenu(&$files) {
30 foreach (glob(__DIR__
. '/xml/Menu/*.xml') as $file) {