1
0
mirror of https://github.com/e107inc/e107.git synced 2025-06-02 08:55:18 +02:00

Session fix for host with port numbers.

This commit is contained in:
Cameron 2017-11-10 11:27:45 -08:00
parent 0e3c68f0b8
commit 18b3825779
2 changed files with 14 additions and 6 deletions

View File

@ -3976,7 +3976,8 @@ class e107
}
else
{
$domain = preg_replace('/^www\./', '' ,$_SERVER['HTTP_HOST']);
$host = !empty($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_NAME'];
$domain = preg_replace('/^www\.|:\d*$/', '', $host); // remove www. and port numbers.
$dtemp = explode(".", $domain);

View File

@ -1540,13 +1540,20 @@ footer {
body#admin-menus > .container-fluid > .row,
body#admin-menus .admin-left-panel,
@media only screen and (min-width : 768px) {
.is-table-row {
display: table;
}
.is-table-row [class*="col-"] {
float: none;
display: table-cell;
vertical-align: top;
}
}
/* Flex Classes */
body#admin-menus > .container-fluid > .row,
body#admin-menus .admin-left-panel,
.row-flex,
.row-flex > div[class*='col-'] {
display: -webkit-box;