add gethostname() in _initDomeinname() as fallback when nothing is defined in $_SERVER
Authored by: obw 2017-05-06
Parent: [r8]
Child: [r10]