public static function initSettings()
    {
        Daemon::$version = file_get_contents('VERSION', true);

        Daemon::$config = new Config\_Object;

        if (!defined('SO_REUSEPORT') && mb_orig_strpos(php_uname('s'), 'BSD') !== false) {
            // @TODO: better if-BSD check
            define('SO_REUSEPORT', 0x200);
        }
    }
public static function initSettings()
    {
        Daemon::$version = file_get_contents('VERSION', true);

        Daemon::$config = new Config\_Object;

        if (!defined('SO_REUSEPORT') && mb_orig_strpos(php_uname('s'), 'BSD') !== false) {
            // @TODO: better if-BSD check
            define('SO_REUSEPORT', 0x200);
        }
    }
public static function initSettings ( ) { Daemon :: $ version = file_get_contents ( 'VERSION' , true ) ; Daemon :: $ config = new Config \ _Object ; if ( ! defined ( 'SO_REUSEPORT' ) && mb_orig_strpos ( php_uname ( 's' ) , 'BSD' ) !== false ) { // @TODO: better if-BSD check define ( 'SO_REUSEPORT' , 0x200 ) ; } }
Loads default setting.
@return void
Loads default setting .