Skip to content
Extraits de code Groupes Projets
PluginException.php 640 octets
Newer Older
  • Learn to ignore specific revisions
  • <?php
    /**
     * Piwik - free/libre analytics platform
     *
     * @link http://piwik.org
     * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
     */
    
    namespace Piwik\Plugin;
    
    class PluginException extends \Exception
    {
        public function __construct($pluginName, $message)
        {
            parent::__construct("There was a problem installing the plugin " . $pluginName . ": " . $message . "
    				If this plugin has already been installed, and if you want to hide this message</b>, you must add the following line under the
    				[PluginsInstalled]
    				entry in your config/config.ini.php file:
    				PluginsInstalled[] = $pluginName");
        }
    }