update Piwik to version 2.16 (fixes #91)
This commit is contained in:
parent
296343bf3b
commit
d885a4baa9
5833 changed files with 418860 additions and 226988 deletions
|
|
@ -0,0 +1,13 @@
|
|||
<?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\Exception;
|
||||
|
||||
class AuthenticationFailedException extends Exception
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?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\Exception;
|
||||
|
||||
class DatabaseSchemaIsNewerThanCodebaseException extends Exception
|
||||
{
|
||||
}
|
||||
22
www/analytics/core/Exception/ErrorException.php
Normal file
22
www/analytics/core/Exception/ErrorException.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?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\Exception;
|
||||
|
||||
/**
|
||||
* ErrorException
|
||||
*
|
||||
* @author Matthieu Napoli <matthieu@mnapoli.fr>
|
||||
*/
|
||||
class ErrorException extends \ErrorException
|
||||
{
|
||||
public function isHtmlMessage()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
30
www/analytics/core/Exception/Exception.php
Normal file
30
www/analytics/core/Exception/Exception.php
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?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\Exception;
|
||||
|
||||
use Exception as PhpException;
|
||||
|
||||
/**
|
||||
* An exception whose message has HTML content. When these exceptions are caught
|
||||
* the message will not be sanitized before being displayed to the user.
|
||||
*/
|
||||
abstract class Exception extends PhpException
|
||||
{
|
||||
private $isHtmlMessage = false;
|
||||
|
||||
public function setIsHtmlMessage()
|
||||
{
|
||||
$this->isHtmlMessage = true;
|
||||
}
|
||||
|
||||
public function isHtmlMessage()
|
||||
{
|
||||
return $this->isHtmlMessage;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?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\Exception;
|
||||
|
||||
class InvalidRequestParameterException extends Exception
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?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\Exception;
|
||||
|
||||
class MissingFilePermissionException extends Exception
|
||||
{
|
||||
}
|
||||
13
www/analytics/core/Exception/NoPrivilegesException.php
Normal file
13
www/analytics/core/Exception/NoPrivilegesException.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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\Exception;
|
||||
|
||||
class NoPrivilegesException extends Exception
|
||||
{
|
||||
}
|
||||
13
www/analytics/core/Exception/NoWebsiteFoundException.php
Normal file
13
www/analytics/core/Exception/NoWebsiteFoundException.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?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\Exception;
|
||||
|
||||
class NoWebsiteFoundException extends Exception
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<?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\Exception;
|
||||
|
||||
class UnexpectedWebsiteFoundException extends Exception
|
||||
{
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue