public function loadAll($path = null)
    {
        if (!$path) {
            $path = CONFIG . 'asset_compress.ini';
        }
        $config = new AssetConfig([], [
            'WEBROOT' => WWW_ROOT,
        ]);
        $this->_load($config, $path);

        $plugins = Plugin::loaded();
        foreach ($plugins as $plugin) {
            $pluginConfig = Plugin::path($plugin) . 'config' . DS . 'asset_compress.ini';
            $this->_load($config, $pluginConfig, $plugin . '.');
        }

        return $config;
    }