Aleksander Machniak
2014-02-07 517c9f9a8dba8e83eaa37a7660f434102e967a77
program/lib/Roundcube/rcube_plugin_api.php
@@ -284,6 +284,7 @@
        $composer = INSTALL_PATH . "/plugins/$plugin_name/composer.json";
        if (file_exists($composer) && ($json = @json_decode(file_get_contents($composer), true))) {
          list($info['vendor'], $info['name']) = explode('/', $json['name']);
          $info['version'] = $json['version'];
          $info['license'] = $json['license'];
          if ($license_uri = $license_uris[$info['license']])
            $info['license_uri'] = $license_uri;