Witam,
w pathway, na podstronach, pokazuje mi się link do strony głównej jako www.domena.pl/index.php - chciałbym ten dodatek index.php wyrzucic, tak aby było www.domena.pl.
w configuration.php mam:
Kod PHP:
$mosConfig_live_site = 'http://www.domena.pl';
z kolei w mod_pathway:
Kod PHP:
if ($option != '') {
$html = '';
$html .= '<div class="pathway">';
$html .= '<a href="'. $mosConfig_live_site .'/administrator/index2.php">';
$html .= '<strong>' . $mosConfig_sitename . '</strong>';
$html .= "</a>";
if ($option != '') {
$html .= " / ";
// try to miss edit functions
if ($task != '' && !eregi( 'edit', $task )) {
$html .= "<a href=\"index2.php?option=$option\">$option</a>";
} else {
$html .= $option;
}
}
if ($task != '') {
$html .= " / $task";
}
$html .= '</div>';
echo $html;
}
nie widzę tutaj kodu, który dodaje index.php
może ktoś pomóc?
Pozdrawiam