Overview
Comment: | Exiger d'avoir PHP 7.2 avant toute chose |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
d834be67ff7b7f7e1e121fa1126d6da9 |
User & Date: | bohwaz on 2020-03-01 18:45:10 |
Other Links: | branch diff | manifest | tags |
Context
2020-04-20
| ||
01:02 | Fix fonction input check-in: 1d5d060c5d user: bohwaz tags: dev | |
2020-03-01
| ||
18:45 | Exiger d'avoir PHP 7.2 avant toute chose check-in: d834be67ff user: bohwaz tags: dev | |
18:44 | Utiliser openBlob pour écrire les fichiers check-in: 1fb74fb690 user: bohwaz tags: dev | |
Changes
Modified src/include/test_required.php from [69fc54870f] to [6949478384].
︙ | ︙ | |||
30 31 32 33 34 35 36 | echo "Pour plus d'informations consulter http://dev.kd2.org/garradin/Probl%C3%A8mes%20fr%C3%A9quents\n"; } exit; } test_requis( | | | | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | echo "Pour plus d'informations consulter http://dev.kd2.org/garradin/Probl%C3%A8mes%20fr%C3%A9quents\n"; } exit; } test_requis( version_compare(phpversion(), '7.2', '>='), 'PHP 7.2 ou supérieur requis. PHP version ' . phpversion() . ' installée.' ); test_requis( defined('CRYPT_BLOWFISH') && CRYPT_BLOWFISH, 'L\'algorithme de hashage de mot de passe Blowfish n\'est pas présent (pas installé ou pas compilé).' ); |
︙ | ︙ |
Modified src/www/index.php from [f59003a96f] to [1c65f87820].
1 2 3 4 5 6 7 8 9 10 11 12 13 | <?php namespace Garradin; require __DIR__ . '/_inc.php'; if (Config::getInstance()->get('desactiver_site')) { Utils::redirect(ADMIN_URL); } $squelette = new Squelette; $squelette->dispatchURI(); | > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <?php namespace Garradin; if (PHP_VERSION_ID < 70200) { die("PHP 7.2 ou supérieur est requis."); } require __DIR__ . '/_inc.php'; if (Config::getInstance()->get('desactiver_site')) { Utils::redirect(ADMIN_URL); } $squelette = new Squelette; $squelette->dispatchURI(); |