public function setSetting($path, $value)
    {
        if ($value === 'false') {
            $value = false;
        } else if ($value === 'true') {
            $value = true;
        } else if ($value === 'null') {
            $value = null;
        }
        
        $parts = explode('.', $path);
        $settings = $this->updateSetting($this->settings, $parts, $value);
        
        if (is_array($settings)) {
            $this->settings = $settings;
        }
    }