to add logic to distribute .htaccess.

Automatic publish system (?) at marketplace doesn't understand .htaccess and marketplace doesn't distribute .htaccess...
This commit is contained in:
YAMAMOTO Takashi 2015-04-28 00:37:13 +09:00
parent 76772544d6
commit 7cf2db9759
4 changed files with 7 additions and 3 deletions

View file

@ -27,5 +27,9 @@ class ClickHeat extends \Piwik\Plugin
{
mkdir($dir.'cache', 0777, true);
}
$htaccess = PIWIK_INCLUDE_PATH.'/plugins/ClickHeat/dot_htaccess';
if (file_exists($htaccess)) {
copy($htaccess, PIWIK_INCLUDE_PATH.'/plugins/ClickHeat/.htaccess');
}
}
}

View file

@ -34,7 +34,7 @@ ClickHeat plugin uses text files to record the coordinate data of each browser i
__What is "click.php returned a status code 403" ?__
You have to perform the upgrade immediately to version 0.1.4. I forgot to put .htaccess.
You have to perform the upgrade immediately to version 0.1.5. I forgot to put .htaccess.
__After installing the plugin, Piwik Administration area shows "page not found 404 error".__
@ -61,7 +61,7 @@ Check that your website does not set the HTTP header __X-FRAME-OPTIONS__ to __SA
* 0.1.0 First beta
* 0.1.2 to append faq
* 0.1.3 to append faq
* 0.1.4 to add .htaccess
* 0.1.5 to add .htaccess
## License
GPL v3 or later

View file

@ -1,7 +1,7 @@
{
"name": "ClickHeat",
"homepage": "http://piwikjapan.org",
"version": "0.1.4",
"version": "0.1.5",
"description": "ClickHeat is a visual heatmap of clicks on a HTML page. This plugin based on Dugwood's ClickHeat version 1.14. Plugin not consider IIS. Sorry.",
"theme": false,
"keywords": ["clickheat", "heatmap", "dugwood", "piwikjapan", "yamachan"],