blob: 7724b3f966c7b42a21d15db272b69193e30421f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
/**
* Piwik - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
namespace Piwik\Exception;
/**
* Exception thrown when the requested plugin requires internet connection, but internet features are disabled in the config file
*/
class PluginRequiresInternetException extends \Exception
{
public function __construct($module)
{
parent::__construct("The plugin $module requires internet connection. Please check your config value for `enable_internet_features` if you want to use this feature.");
}
}
|