mybb/mybb — pull request #391 by nmalcolm (2014-03-21 00:49:59+00:00)
Title: Fix #377 Installer suggests incorrect cookie domain

The logic for this was backwards. If `my_inet_pton($cookiedomain)` returns false, or `strpos($cookiedomain, '.')` returns anything but true, we have an invalid cookie domain.