Closed lollita closed 6 years ago
please use: define('P01C\SERVER', 'http://' . SERVERNAME . (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT']!=='80') ? $_SERVER['SERVER_PORT']: ''); to handel server with port not 80.
define('P01C\SERVER', 'http://' . SERVERNAME . (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT']!=='80') ? $_SERVER['SERVER_PORT']: '');
please use:
define('P01C\SERVER', 'http://' . SERVERNAME . (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT']!=='80') ? $_SERVER['SERVER_PORT']: '');
to handel server with port not 80.