<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
if (isset($path)) {
if (isset($query)) {
if ($permlinkStructure != '' && ($pageID || $script != '')) {
- return $script . '?page=CiviCRM&q=' . $path . $pageID . $separator . $query . $fragment;
+ return $script . '?page=CiviCRM'. $separator . 'q=' . $path . $pageID . $separator . $query . $fragment;
}
else {
- return $base . '?page=CiviCRM&q=' . $path . $pageID . $separator . $query . $fragment;
+ return $base . '?page=CiviCRM' . $separator . 'q=' . $path . $pageID . $separator . $query . $fragment;
}
}
else {
if ($permlinkStructure != '' && ($pageID || $script != '')) {
- return $script . '?page=CiviCRM&q=' . $path . $pageID . $fragment;
+ return $script . '?page=CiviCRM' . $separator . 'q=' . $path . $pageID . $fragment;
}
else {
- return $base .'?page=CiviCRM&q=' . $path . $pageID . $fragment;
+ return $base . '?page=CiviCRM' . $separator . 'q=' . $path . $pageID . $fragment;
}
}
}