mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
Session fix for host with port numbers.
This commit is contained in:
@@ -3976,7 +3976,8 @@ class e107
|
|||||||
}
|
}
|
||||||
else
|
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);
|
$dtemp = explode(".", $domain);
|
||||||
|
|
||||||
|
@@ -1540,13 +1540,20 @@ footer {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@media only screen and (min-width : 768px) {
|
||||||
|
.is-table-row {
|
||||||
body#admin-menus > .container-fluid > .row,
|
display: table;
|
||||||
body#admin-menus .admin-left-panel,
|
}
|
||||||
|
.is-table-row [class*="col-"] {
|
||||||
|
float: none;
|
||||||
|
display: table-cell;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Flex Classes */
|
/* Flex Classes */
|
||||||
|
body#admin-menus > .container-fluid > .row,
|
||||||
|
body#admin-menus .admin-left-panel,
|
||||||
.row-flex,
|
.row-flex,
|
||||||
.row-flex > div[class*='col-'] {
|
.row-flex > div[class*='col-'] {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
|
Reference in New Issue
Block a user