Fix the install path for the redirect.
This commit is contained in:
parent
7a8587184c
commit
c99caf57bb
|
|
@ -2132,7 +2132,7 @@
|
||||||
case 'inline':
|
case 'inline':
|
||||||
$logo_align = ($_SESSION['theme']['logo_align']['text'] != '') ? $_SESSION['theme']['logo_align']['text'] : 'left';
|
$logo_align = ($_SESSION['theme']['logo_align']['text'] != '') ? $_SESSION['theme']['logo_align']['text'] : 'left';
|
||||||
echo str_replace("center", $logo_align, $open_container);
|
echo str_replace("center", $logo_align, $open_container);
|
||||||
if ($_SERVER['PHP_SELF'] != PROJECT_PATH."/resources/install.php") {
|
if ($_SERVER['PHP_SELF'] != PROJECT_PATH."/core/install/install.php") {
|
||||||
$logo = ($_SESSION['theme']['logo']['text'] != '') ? $_SESSION['theme']['logo']['text'] : PROJECT_PATH."/themes/default/images/logo.png";
|
$logo = ($_SESSION['theme']['logo']['text'] != '') ? $_SESSION['theme']['logo']['text'] : PROJECT_PATH."/themes/default/images/logo.png";
|
||||||
echo "<a href='".((PROJECT_PATH != '') ? PROJECT_PATH : '/')."'><img src='".$logo."' style='padding: 15px 20px;'></a>";
|
echo "<a href='".((PROJECT_PATH != '') ? PROJECT_PATH : '/')."'><img src='".$logo."' style='padding: 15px 20px;'></a>";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue