nliautaud / p01contact

Create contact forms by writing simple tags. Also a plugin for GetSimple and Pico CMS.
MIT License
16 stars 15 forks source link

server with port not 80 #25

Closed lollita closed 6 years ago

lollita commented 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.