protected static function loadConfig()
    {
        if (Configure::check('plugins')) {
            return;
        }
        $vendorFile = dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'skinny-plugins.php';
        if (!file_exists($vendorFile)) {
            $vendorFile = dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR . 'skinny-plugins.php';
            if (!file_exists($vendorFile)) {
                Configure::write(['plugins' => []]);

                return;
            }
        }

        $config = require $vendorFile;
        Configure::write($config);
    }
protected static function loadConfig()
    {
        if (Configure::check('plugins')) {
            return;
        }
        $vendorFile = dirname(dirname(__DIR__)) . DIRECTORY_SEPARATOR . 'skinny-plugins.php';
        if (!file_exists($vendorFile)) {
            $vendorFile = dirname(dirname(dirname(dirname(__DIR__)))) . DIRECTORY_SEPARATOR . 'skinny-plugins.php';
            if (!file_exists($vendorFile)) {
                Configure::write(['plugins' => []]);

                return;
            }
        }

        $config = require $vendorFile;
        Configure::write($config);
    }
protected static function loadConfig ( ) { if ( Configure :: check ( 'plugins' ) ) { return ; } $ vendorFile = dirname ( dirname ( __DIR__ ) ) . DIRECTORY_SEPARATOR . 'skinny-plugins.php' ; if ( ! file_exists ( $ vendorFile ) ) { $ vendorFile = dirname ( dirname ( dirname ( dirname ( __DIR__ ) ) ) ) . DIRECTORY_SEPARATOR . 'skinny-plugins.php' ; if ( ! file_exists ( $ vendorFile ) ) { Configure :: write ( [ 'plugins' => [ ] ] ) ; return ; } } $ config = require $ vendorFile ; Configure :: write ( $ config ) ; }
Load the plugin path configuration file.

@return void
Load the plugin path configuration file .