mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-01-08 22:07:56 +00:00
make protocol settings adaptive
This commit is contained in:
parent
fcee7f62ef
commit
1d7031e4f7
@ -11,7 +11,7 @@ error_reporting(E_ALL);
|
|||||||
* Project domain, without slash on postfix
|
* Project domain, without slash on postfix
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
define('WEBSITE_DOMAIN', (issue($_SERVER['HTTP_HOST']) ? 'http://' . $_SERVER['HTTP_HOST'] : ''));
|
define('WEBSITE_DOMAIN', (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ? 'https' : 'http') . '://' . (!empty($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Search results per page before show the read more link.
|
* Search results per page before show the read more link.
|
||||||
|
Loading…
Reference in New Issue
Block a user