Ticket #524 (closed Bug: fixed)

Opened 3 years ago

Last modified 2 years ago

Add piwik header to all .php files

Reported by: matt Owned by:
Priority: major Milestone: Piwik 0.4.2
Component: Core Keywords:
Cc: Sensitive:

Description

All Piwik PHP files should contain the following header:

<?php
/**
 * Piwik - Open source web analytics
 * 
 * @link http://piwik.org
 * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
 * @version $Id: $
 * 
 */

Attachments

hasheader.pl Download (0.6 KB) - added by vipsoft 3 years ago.

Change History

Changed 3 years ago by vipsoft

I'd like to suggest adding an explicit copyright statement.

Changed 3 years ago by vipsoft

  • milestone changed from 2- DigitalVibes to 1 - Piwik 0.4.2

Changed 3 years ago by vipsoft

  • status changed from new to closed
  • resolution set to fixed

(In [1259]) Fixes #524 - add standard Piwik header to .php files in core & plugins, with the exception of those in core/Updates/.

Changed 3 years ago by vipsoft

Changed 3 years ago by vipsoft

Use attached script to identify files without the required header:

find core -name '*.php' -exec perl hasheader.pl {} \;
find plugins -name '*.php' -exec perl hasheader.pl {} \;

Changed 2 years ago by vipsoft

(In [1698]) refs #524 - add standard header

Note: See TracTickets for help on using tickets.