Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add piwik header to all .php files #524

Closed
mattab opened this issue Jan 25, 2009 · 5 comments
Closed

Add piwik header to all .php files #524

mattab opened this issue Jan 25, 2009 · 5 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jan 25, 2009

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: $
  • */
    ```
@robocoder
Copy link
Contributor

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

@robocoder
Copy link
Contributor

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

@robocoder
Copy link
Contributor

Attachment:
hasheader.pl

@robocoder
Copy link
Contributor

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 {} \;

@robocoder
Copy link
Contributor

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

@mattab mattab added this to the Piwik 0.4.2 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants