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:
parent
0e3c68f0b8
commit
18b3825779
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user