summaryrefslogtreecommitdiff
path: root/fai_gestion/config/requirements.php
diff options
context:
space:
mode:
Diffstat (limited to 'fai_gestion/config/requirements.php')
-rw-r--r--fai_gestion/config/requirements.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/fai_gestion/config/requirements.php b/fai_gestion/config/requirements.php
new file mode 100644
index 0000000..d5b180f
--- /dev/null
+++ b/fai_gestion/config/requirements.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
+ * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
+ *
+ * Licensed under The MIT License
+ * For full copyright and license information, please see the LICENSE.txt
+ * Redistributions of files must retain the above copyright notice.
+ *
+ * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
+ * @link https://cakephp.org CakePHP(tm) Project
+ * @since 3.5.0
+ * @license https://opensource.org/licenses/mit-license.php MIT License
+ */
+
+/*
+ * You can empty out this file, if you are certain that you match all requirements.
+ */
+
+/*
+ * You can remove this if you are confident that your PHP version is sufficient.
+ */
+if (version_compare(PHP_VERSION, '5.6.0') < 0) {
+ trigger_error('Your PHP version must be equal or higher than 5.6.0 to use CakePHP.' . PHP_EOL, E_USER_ERROR);
+}
+
+/*
+ * You can remove this if you are confident you have intl installed.
+ */
+if (!extension_loaded('intl')) {
+ trigger_error('You must enable the intl extension to use CakePHP.' . PHP_EOL, E_USER_ERROR);
+}
+
+/*
+ * You can remove this if you are confident you have mbstring installed.
+ */
+if (!extension_loaded('mbstring')) {
+ trigger_error('You must enable the mbstring extension to use CakePHP.' . PHP_EOL, E_USER_ERROR);
+}