public function isLocalInstallation($infos)
    {
        if (false !== strpos($infos['ServerHost'], 'localhost')) {
            Splash::log()->war(Splash::trans('WarIsLocalhostServer'));
        } elseif (false !== strpos($infos['ServerIP'], '127.0.0.1')) {
            Splash::log()->war(Splash::trans('WarIsLocalhostServer'));
        }

        if ('https' === Splash::input('REQUEST_SCHEME')) {
            Splash::log()->war(Splash::trans('WarIsHttpsServer'));
        }
    }
public function isLocalInstallation($infos)
    {
        if (false !== strpos($infos['ServerHost'], 'localhost')) {
            Splash::log()->war(Splash::trans('WarIsLocalhostServer'));
        } elseif (false !== strpos($infos['ServerIP'], '127.0.0.1')) {
            Splash::log()->war(Splash::trans('WarIsLocalhostServer'));
        }

        if ('https' === Splash::input('REQUEST_SCHEME')) {
            Splash::log()->war(Splash::trans('WarIsHttpsServer'));
        }
    }
public function isLocalInstallation ( $ infos ) { if ( false !== strpos ( $ infos [ 'ServerHost' ] , 'localhost' ) ) { Splash :: log ( ) -> war ( Splash :: trans ( 'WarIsLocalhostServer' ) ) ; } elseif ( false !== strpos ( $ infos [ 'ServerIP' ] , '127.0.0.1' ) ) { Splash :: log ( ) -> war ( Splash :: trans ( 'WarIsLocalhostServer' ) ) ; } if ( 'https' === Splash :: input ( 'REQUEST_SCHEME' ) ) { Splash :: log ( ) -> war ( Splash :: trans ( 'WarIsHttpsServer' ) ) ; } }
Verify Webserver is a LocalHost

@param mixed $infos
Verify Webserver is a LocalHost