Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-01-07 08:45:32 +0400
committermattab <matthieu.aubry@gmail.com>2014-01-07 08:45:32 +0400
commitc1301a04b6f0be1e7da3e7a44f4399285ce37930 (patch)
treeab8536fa3a5da621e1d282a63eb194a65149daa2 /config
parentb929a98991ee1bed0931f5ac15deb7895491b484 (diff)
Adding new option to completely disable the Plugins enable/disable/uninstall features: enable_plugins_admin is 1 by default.
Diffstat (limited to 'config')
-rw-r--r--config/global.ini.php21
1 files changed, 14 insertions, 7 deletions
diff --git a/config/global.ini.php b/config/global.ini.php
index d315d31c33..794f9dc0a2 100644
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -348,13 +348,6 @@ overlay_following_pages_limit = 300
; With this option, you can disable the framed mode of the Overlay plugin. Use it if your website contains a framebuster.
overlay_disable_framed_mode = 0
-; By setting this option to 0, you can disable the Piwik marketplace. This is useful to prevent giving the Super user
-; the access to disk and install custom PHP code (Piwik plugins).
-enable_marketplace = 1
-
-; By setting this option to 0, you can prevent Super User from editing the Geolocation settings.
-enable_geolocation_admin = 1
-
; If php is running in a chroot environment, when trying to import CSV files with createTableFromCSVFile(),
; Mysql will try to load the chrooted path (which is imcomplete). To prevent an error, here you can specify the
; absolute path to the chroot environment. eg. '/path/to/piwik/chrooted/'
@@ -364,6 +357,20 @@ absolute_chroot_path =
; This may for example be useful when doing Mysql AWS replication
enable_load_data_infile = 1
+; By setting this option to 0, you can disable the Piwik marketplace. This is useful to prevent giving the Super user
+; the access to disk and install custom PHP code (Piwik plugins).
+enable_marketplace = 1
+
+; By setting this option to 0:
+; - links to Enable/Disable/Uninstall plugins will be hidden and disabled
+; - links to Uninstall themes will be disabled (but user can still enable/disable themes)
+; - as well as disabling plugins admin actions (such as "Upload new plugin"), setting this to 1 will have same effect as setting enable_marketplace=1
+enable_plugins_admin = 1
+
+; By setting this option to 0, you can prevent Super User from editing the Geolocation settings.
+enable_geolocation_admin = 1
+
+
[Tracker]
; Piwik uses first party cookies by default. If set to 1,
; the visit ID cookie will be set on the Piwik server domain as well