src/Wasabi.php
public static function setting($path, $default = null)
    {
        $setting = Configure::read('Settings.' . $path);

        if ($setting === null) {
            $setting = Configure::read('Wasabi.' . $path);
        }

        if ($setting === null) {
            return $default;
        }

        return $setting;
    }
public static function setting($path, $default = null)
    {
        $setting = Configure::read('Settings.' . $path);

        if ($setting === null) {
            $setting = Configure::read('Wasabi.' . $path);
        }

        if ($setting === null) {
            return $default;
        }

        return $setting;
    }
public static function setting ( $ path , $ default = null ) { $ setting = Configure :: read ( 'Settings.' . $ path ) ; if ( $ setting === null ) { $ setting = Configure :: read ( 'Wasabi.' . $ path ) ; } if ( $ setting === null ) { return $ default ; } return $ setting ; }
Get a setting stored in Wasabi Settings.

@param string $path the array path to access the setting, using Hash::get() syntax
@param null|mixed $default a default value to return when the setting is not found
@return mixed|null
Get a setting stored in Wasabi Settings .