$s = ($_PX_website_config['secure']) ? 's' :
;
switch ($type) {
case 'full' : $path = 'http'.$s.':'.$_PX_website_config['domain'].$_PX_website_config['rel_url']; break;
default : $path = $_PX_website_config['rel_url']; break;
if ($_PX_config['url_format'] 'simple') {
$path .= '/index.php?';
$path .= $a->getPath();
echo $path;
Deletions: