Skip to content
Extraits de code Groupes Projets
Valider 54e12185 rédigé par mattab's avatar mattab
Parcourir les fichiers

Tweak comment

parent bcab7417
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -539,8 +539,9 @@ enable_load_data_infile = 1 ...@@ -539,8 +539,9 @@ enable_load_data_infile = 1
; - links to Uninstall themes will be disabled (but user can still enable/disable themes) ; - links to Uninstall themes will be disabled (but user can still enable/disable themes)
enable_plugins_admin = 1 enable_plugins_admin = 1
; By setting this option to 1, it will be possible to upload plugin archives directly in Piwik ; By setting this option to 1, it will be possible for Super Users to upload Piwik plugin ZIP archives directly in Piwik Administration.
; Enabling this opens a remote code execution vulnarability, which yould be used by attackers gaining access to Piwik admin ; Enabling this opens a remote code execution vulnerability where
; an attacker who gained Super User access could execute custom PHP code in a Piwik plugin.
enable_plugin_upload = 0 enable_plugin_upload = 0
; By setting this option to 0, you can prevent Super User from editing the Geolocation settings. ; By setting this option to 0, you can prevent Super User from editing the Geolocation settings.
......
...@@ -1017,7 +1017,7 @@ class CronArchive ...@@ -1017,7 +1017,7 @@ class CronArchive
private function checkResponse($response, $url) private function checkResponse($response, $url)
{ {
if (empty($response) if (empty($response)
|| stripos($response, 'error') || stripos($response, 'error') !== false
) { ) {
return $this->logNetworkError($url, $response); return $this->logNetworkError($url, $response);
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter