From c14da77997880189e6f4b7012d40dec227b9b225 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 20 Oct 2021 22:49:22 +0200 Subject: chore: add php template and includes (config, i18n and utils) --- htdocs/index.php | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 htdocs/index.php (limited to 'htdocs/index.php') diff --git a/htdocs/index.php b/htdocs/index.php new file mode 100644 index 0000000..8e6c870 --- /dev/null +++ b/htdocs/index.php @@ -0,0 +1,88 @@ + + * @copyright 2021 Armand Philippot + * @license http://www.opensource.org/licenses/mit-license.php MIT + * @link https://demo.armandphilippot.com/ + * @since 1.0.0 + */ + +// Load config and functions. +require './includes/config.php'; +require './includes/i18n.php'; +require './includes/utils.php'; + +$dap_current_env = dap_get_current_env(); +$dap_locale = dap_define_locale($dap_default_locale); +$dap_language = dap_get_language($dap_locale); +$dap_formatted_locale = dap_get_formatted_locale($dap_locale); + +dap_set_locale($dap_formatted_locale); +?> + + + + + + + + Armand Philippot + + + + + + + + + +
+
+ +

+ Armand Philippot +

+

+ +

+
+ +
+
+
+
+
+ + + + + + -- cgit v1.2.3