Mercurial > hg > isophonics-drupal-site
comparison core/scripts/password-hash.sh @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
15 if (PHP_SAPI !== 'cli') { | 15 if (PHP_SAPI !== 'cli') { |
16 return; | 16 return; |
17 } | 17 } |
18 | 18 |
19 if (version_compare(PHP_VERSION, '5.4.5') < 0) { | 19 if (version_compare(PHP_VERSION, '5.4.5') < 0) { |
20 $version = PHP_VERSION; | 20 $version = PHP_VERSION; |
21 echo <<<EOF | 21 echo <<<EOF |
22 | 22 |
23 ERROR: This script requires at least PHP version 5.4.5. You invoked it with | 23 ERROR: This script requires at least PHP version 5.4.5. You invoked it with |
24 PHP version {$version}. | 24 PHP version {$version}. |
25 \n | 25 \n |