diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-07-02 06:23:42 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-07-02 06:23:42 +0400 |
commit | 5ce45d1a948bd965f63c333d8f2ed0f76f74cc92 (patch) | |
tree | 79d9d6d1f9e3dd2675c69442b0cff9ed8d5321e5 /config | |
parent | 3a8aa4a5198b4f0b917ff72fbd32d14896c8fd67 (diff) |
added development flag which allows us to not cache static cache and to make some more checks when developers develop plugins
Diffstat (limited to 'config')
-rw-r--r-- | config/global.ini.php | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/config/global.ini.php b/config/global.ini.php index b5b21294bc..c3c68c1de0 100644 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -77,10 +77,6 @@ enable_sql_profiler = 0 ; this is useful for Piwik developers as an easy way to create data in their local Piwik enable_measure_piwik_usage_in_idsite = 0 -; if set to 1, javascript files will be included individually and neither merged nor minified. -; this option must be set to 1 when adding, removing or modifying javascript files -disable_merged_assets = 0 - ; If set to 1, all requests to piwik.php will be forced to be 'new visitors' tracker_always_new_visitor = 0 @@ -92,7 +88,20 @@ allow_upgrades_to_beta = 0 ; will be loaded when executing tests. enable_load_standalone_plugins_during_tests = 0 +[Development] + +; Enables the development mode where we avoid most caching to make sure code changes will be directly applied as +; some caches are only invalidated after an update otherwise. When enabled it'll also performs some validation checks. +; For instance if you register a method in a widget we will verify whether the method actually exists and is public. +; If not, we will show you a helpful warning to make it easy to find simple typos etc. +enabled = 0 + +; if set to 1, javascript files will be included individually and neither merged nor minified. +; this option must be set to 1 when adding, removing or modifying javascript files +disable_merged_assets = 0 + [General] + ; the following settings control whether Unique Visitors will be processed for different period types. ; year and range periods are disabled by default, to ensure optimal performance for high traffic Piwik instances ; if you set it to 1 and want the Unique Visitors to be re-processed for reports in the past, drop all piwik_archive_* tables |