Configuration de l'application
This commit is contained in:
parent
a77ca93d9b
commit
59ad99d4bb
26
application/configs/application.ini
Normal file
26
application/configs/application.ini
Normal file
@ -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
|
0
application/views/footer.phtml
Normal file
0
application/views/footer.phtml
Normal file
0
application/views/header.phtml
Normal file
0
application/views/header.phtml
Normal file
17
application/views/main.phtml
Normal file
17
application/views/main.phtml
Normal file
@ -0,0 +1,17 @@
|
||||
<?php echo $this->doctype();?>
|
||||
<html>
|
||||
<head>
|
||||
<?php echo $this->headMeta();?>
|
||||
<?php echo $this->headTitle();?>
|
||||
<?php echo $this->headStyle();?>
|
||||
<?php echo $this->headLink();?>
|
||||
<?php echo $this->headScript();?>
|
||||
</head>
|
||||
<body>
|
||||
<div id="global">
|
||||
<div id="content">
|
||||
<?php echo $this->layout()->content;?>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user