Add piwik usability

This commit is contained in:
Luc Didry 2015-10-03 22:42:22 +02:00
parent 26787d9cb1
commit 9430bd2db7
2 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,11 @@
# optional, default is 32 # optional, default is 32
#token_length => 32, #token_length => 32,
# if you want to have piwik statistics, provide a piwik image tracker
# only the image tracker is allowed, no javascript
# optional, no default
#piwik_img => 'https://piwik.example.org/piwik.php?idsite=1&rec=1',
# broadcast_message which will displayed on the index page # broadcast_message which will displayed on the index page
# optional, no default # optional, no default
#broadcast_message => 'Maintenance', #broadcast_message => 'Maintenance',

View File

@ -52,5 +52,8 @@
</div> </div>
</div> </div>
</div> </div>
% if (defined(config('piwik_img'))) {
<img src="<%== config('piwik_img') %>" style="border:0" alt="" />
% }
</body> </body>
</html> </html>