diff options
Diffstat (limited to 'core/testMinimumPhpVersion.php')
-rw-r--r-- | core/testMinimumPhpVersion.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/testMinimumPhpVersion.php b/core/testMinimumPhpVersion.php index e1fc84f5d3..f0c9bbd4cb 100644 --- a/core/testMinimumPhpVersion.php +++ b/core/testMinimumPhpVersion.php @@ -50,8 +50,7 @@ if ($minimumPhpInvalid) { To use Piwik, please ask your web host to install php5-json or install it yourself, for example on debian system: <code>sudo apt-get install php5-json</code>. <br/>Then restart your webserver and refresh this page.</p>"; } - if (!file_exists(PIWIK_INCLUDE_PATH . '/vendor/autoload.php') - && !file_exists(PIWIK_INCLUDE_PATH . '/../../autoload.php')) { + if (!file_exists(PIWIK_VENDOR_PATH . '/autoload.php')) { $composerInstall = "In the piwik directory, run in the command line the following (eg. via ssh): \n\n" . "<pre> curl -sS https://getcomposer.org/installer | php \n\n php composer.phar install\n\n</pre> "; if (DIRECTORY_SEPARATOR === '\\' /* ::isWindows() */) { |