BIT_ROOT_URL in mod_package_search.php

ZyanKLee
Joined: 10 Nov 2007

BIT_ROOT_URL in mod_package_search.php

Posted:18 Nov 2007 (00:13 UTC)
Hey, found an issue in mod_package_search.php
when having bitweaver in a subfolder of the htdocs folder, bitweaver is saving this foldername and adds it to the url.
In mod_package_search.php it is added through BIT_ROOT_URL before the absolute path to the bitweaver folder.

$searchTemplatePath = BIT_ROOT_URL.constant( strtoupper( ACTIVE_PACKAGE ).'_PKG_PATH' ).'templates/'.$tplName;


should become:
$searchTemplatePath = constant( strtoupper( ACTIVE_PACKAGE ).'_PKG_PATH' ).'templates/'.$tplName;

  Page 1 of 1  1