Ignore:
Timestamp:
Jun 9, 2010, 9:15:50 PM (14 years ago)
Author:
rvelices
Message:

rv_menutree fix mix between url and directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_menutree/trunk/main.inc.php

    r6413 r6509  
    5353                global $template, $page;
    5454
    55                 $rvmt_path = get_root_url().'plugins/'. basename(dirname(__FILE__)).'/';
    56                 $template->set_template_dir($rvmt_path.'template/');
     55                $rvmt_path = 'plugins/'. basename(dirname(__FILE__)).'/';
     56                $template->set_template_dir(PHPWG_ROOT_PATH.$rvmt_path.'template/');
    5757                $template->assign(array(
    58                         'RVMT_PATH' => $rvmt_path,
     58                        'RVMT_PATH' => get_root_url().$rvmt_path,
    5959                        'RVMT_UPPER_IDS' => isset($page['category']['uppercats']) ? array_flip( explode(',', $page['category']['uppercats'])) : null,
    6060                        )
Note: See TracChangeset for help on using the changeset viewer.