Overview
Comment: | Afficher un message en cas de besoin d'upgrade et d'utilisation en CLI |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
5937370ae069ce7db4878378ead61813 |
User & Date: | bohwaz on 2020-07-18 20:34:22 |
Other Links: | manifest | tags |
Context
2020-07-19
| ||
10:50 | Liens sur les comptes dans le bilan et le compte de résultat check-in: dd801d2285 user: bohwaz tags: trunk, stable | |
2020-07-18
| ||
20:34 | Afficher un message en cas de besoin d'upgrade et d'utilisation en CLI check-in: 5937370ae0 user: bohwaz tags: trunk, stable | |
20:33 | Vérifier le format d'entrée des champs date check-in: 0977e93dc8 user: bohwaz tags: trunk, stable | |
Changes
Modified src/include/lib/Garradin/Utils.php from [eeb7ab32e4] to [4d9bf0c755].
︙ | ︙ | |||
153 154 155 156 157 158 159 160 161 162 163 164 165 166 | if (empty($destination) || !preg_match('/^https?:\/\//', $destination)) { if (empty($destination)) $destination = WWW_URL; else $destination = WWW_URL . preg_replace('/^\//', '', $destination); } if (headers_sent()) { echo '<html>'. ' <head>' . ' <script type="text/javascript">' . | > > > > > | 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | if (empty($destination) || !preg_match('/^https?:\/\//', $destination)) { if (empty($destination)) $destination = WWW_URL; else $destination = WWW_URL . preg_replace('/^\//', '', $destination); } if (PHP_SAPI == 'cli') { echo 'Please visit ' . $destination . PHP_EOL; exit; } if (headers_sent()) { echo '<html>'. ' <head>' . ' <script type="text/javascript">' . |
︙ | ︙ |