Fix the install path for the redirect.

This commit is contained in:
markjcrane 2016-04-15 18:39:12 -06:00
parent 7a8587184c
commit c99caf57bb
1 changed files with 1 additions and 1 deletions

View File

@ -2132,7 +2132,7 @@
case 'inline':
$logo_align = ($_SESSION['theme']['logo_align']['text'] != '') ? $_SESSION['theme']['logo_align']['text'] : 'left';
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";
echo "<a href='".((PROJECT_PATH != '') ? PROJECT_PATH : '/')."'><img src='".$logo."' style='padding: 15px 20px;'></a>";
}