Function isLocalServer
Returns whether the PHP server is localhost or remote. True if the host matches *.local or localhost. From the Symfony framework.
Located at
app/Kernel/Helpers/aliases.php
boolean
|
TRUE if the $_SERVER is a local machine; FALSE if it's a remote machine |