From 59ad99d4bbbf6fa56e60ab4edb783b0beb14f5e7 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 2 Jan 2012 13:37:38 +0000 Subject: [PATCH] Configuration de l'application --- application/configs/application.ini | 26 ++++++++++++++++++++++++++ application/views/footer.phtml | 0 application/views/header.phtml | 0 application/views/main.phtml | 17 +++++++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 application/configs/application.ini create mode 100644 application/views/footer.phtml create mode 100644 application/views/header.phtml create mode 100644 application/views/main.phtml diff --git a/application/configs/application.ini b/application/configs/application.ini new file mode 100644 index 0000000..62ad607 --- /dev/null +++ b/application/configs/application.ini @@ -0,0 +1,26 @@ +[production] +phpSettings.date.timezone = "Europe/Paris" +phpSettings.display_startup_errors = 0 +phpSettings.display_errors = 0 +includePaths.library = APPLICATION_PATH "/../library" +bootstrap.path = APPLICATION_PATH "/Bootstrap.php" +bootstrap.class = "Bootstrap" +appnamespace = "Application" +resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" +resources.frontController.params.displayExceptions = 0 +autoloaderNamespaces[] = "Application_" +resources.layout.layout = "main" + +[staging : production] +resources.frontController.params.displayExceptions = 0 +phpSettings.soap.wsdl_cache_enabled = 0 + +[development : production] +phpSettings.display_startup_errors = 1 +phpSettings.display_errors = 1 +phpSettings.soap.wsdl_cache_enabled = 0 +resources.frontController.params.displayExceptions = 1 + +[testing : production] +phpSettings.display_startup_errors = 1 +phpSettings.display_errors = 1 \ No newline at end of file diff --git a/application/views/footer.phtml b/application/views/footer.phtml new file mode 100644 index 0000000..e69de29 diff --git a/application/views/header.phtml b/application/views/header.phtml new file mode 100644 index 0000000..e69de29 diff --git a/application/views/main.phtml b/application/views/main.phtml new file mode 100644 index 0000000..69e6d11 --- /dev/null +++ b/application/views/main.phtml @@ -0,0 +1,17 @@ +doctype();?> + + + headMeta();?> + headTitle();?> + headStyle();?> + headLink();?> + headScript();?> + + +
+
+ layout()->content;?> +
+
+ + \ No newline at end of file