Overview
Comment: | namespace étant une fonctionnalité de PHP 5.3, mettons la *après* le test de version de PHP |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c5b65759c605a83b458cddabba01536c |
User & Date: | bohwaz on 2012-12-19 04:44:23 |
Other Links: | manifest | tags |
Context
2012-12-23
| ||
02:36 | Mise à jour pour namespaces check-in: 920b18bf61 user: bohwaz tags: trunk | |
2012-12-19
| ||
04:44 | namespace étant une fonctionnalité de PHP 5.3, mettons la *après* le test de version de PHP check-in: c5b65759c6 user: bohwaz tags: trunk | |
04:43 | Utilisation des namespaces check-in: 9a0053fe6f user: bohwaz tags: trunk | |
Changes
Modified www/admin/install.php from [495d72a3bc] to [c31ecdf400].
1 | <?php | < < | 1 2 3 4 5 6 7 8 | <?php /* * Tests : vérification que les conditions pour s'exécuter sont remplies */ $tests = array( 'La version de PHP installée est inférieure à 5.3 !' => version_compare(phpversion(), '5.3', '<'), |
︙ | ︙ | |||
38 39 40 41 42 43 44 45 46 47 48 49 50 51 | echo "\n<b>Erreur fatale :</b> Garradin a besoin que la condition mentionnée soit remplie pour s'exécuter.\n"; if (PHP_SAPI != 'cli') echo '</pre>'; exit; } define('GARRADIN_INSTALL_PROCESS', true); require_once __DIR__ . '/../../include/init.php'; require_once GARRADIN_ROOT . '/include/template.php'; if (file_exists(GARRADIN_DB_FILE)) | > > | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | echo "\n<b>Erreur fatale :</b> Garradin a besoin que la condition mentionnée soit remplie pour s'exécuter.\n"; if (PHP_SAPI != 'cli') echo '</pre>'; exit; } namespace Garradin; define('GARRADIN_INSTALL_PROCESS', true); require_once __DIR__ . '/../../include/init.php'; require_once GARRADIN_ROOT . '/include/template.php'; if (file_exists(GARRADIN_DB_FILE)) |
︙ | ︙ |