diff --git a/LEGALNOTICE b/LEGALNOTICE index f394df67e444f2b09d15bbdecf254257bb1c369f..a2464aa0a1c3d2a1b842f15fa96b398334c6f944 100644 --- a/LEGALNOTICE +++ b/LEGALNOTICE @@ -114,6 +114,10 @@ THIRD-PARTY COMPONENTS AND LIBRARIES Notes: - reference implementation + Name: jshrink + Link: https://github.com/tedivm/jshrink + License: BSD-3-Clause + Name: sparkline Link: https//sourceforge.net/projects/sparkline/ License: Dual-licensed: New BSD or GPL v2 diff --git a/core/AssetManager/UIAssetMinifier.php b/core/AssetManager/UIAssetMinifier.php index fe29f1ec61d0965e2674a67ad02ee319e861c28f..83705f7e9c8c85211add9f2189a9c5d123de9447 100644 --- a/core/AssetManager/UIAssetMinifier.php +++ b/core/AssetManager/UIAssetMinifier.php @@ -62,6 +62,6 @@ class UIAssetMinifier extends Singleton private static function validateDependency() { if (!class_exists("JShrink\Minifier")) - throw new Exception("JShrink dependency is managed using Composer."); + throw new Exception("JShrink dependency is managed using Composer. <br> $ php composer.phar update "); } } diff --git a/core/testMinimumPhpVersion.php b/core/testMinimumPhpVersion.php index 90ccdd2d0fd1c21fa1dcc015222f816b2c7ccc6f..e7dd79fd0436d37e55ab60f2243bd0541d928f31 100644 --- a/core/testMinimumPhpVersion.php +++ b/core/testMinimumPhpVersion.php @@ -53,7 +53,7 @@ if ($minimumPhpInvalid) { . "<pre> curl -sS https://getcomposer.org/installer | php \n\n php composer.phar install\n\n</pre> "; if (DIRECTORY_SEPARATOR === '\\' /* ::isWindows() */) { $composerInstall = "Download and run <a href=\"https://getcomposer.org/Composer-Setup.exe\"><b>Composer-Setup.exe</b></a>, it will install the latest Composer version and set up your PATH so that you can just call composer from any directory in your command line. " - . " <br>Then run this command in a terminal in the piwik directory: <br> $ php composer update "; + . " <br>Then run this command in a terminal in the piwik directory: <br> $ php composer.phar update "; } $piwik_errorMessage .= "<p>It appears the <a href='https://getcomposer.org/' target='_blank'>composer</a> tool is not yet installed. You can install Composer in a few easy steps:\n\n". "<br/>" . $composerInstall.