Browse Source

template simple

Sniperovitch 8 years ago
parent
commit
3be0cbac33
2 changed files with 6 additions and 1 deletions
  1. 5 0
      config.yml.smp
  2. 1 1
      views/error.tt

+ 5 - 0
config.yml.smp

@@ -0,0 +1,5 @@
+cocktail:
+  binary: /home/bernard/cocktail/cocktail
+  store: /tmp/bernard
+
+template: "simple"

+ 1 - 1
views/error.tt

@@ -9,7 +9,7 @@
   <body>
     <h1>Erreur</h1>
     <div id="content">
-      <p>Erreur : [% error.message %]</p>
+      <p>Erreur : <% error.message %></p>
     </div>
   </body>
 </html>