瀏覽代碼

Forget this previous commit, will you?

Brendan Abolivier 9 年之前
父節點
當前提交
7b7e0c7bc8
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 0
    1
      controllers/data.php
  2. 1
    0
      controllers/document.php

+ 0
- 1
controllers/data.php 查看文件

6
 {
6
 {
7
     set("title", "Titre");
7
     set("title", "Titre");
8
     set("data", Data::getAll());
8
     set("data", Data::getAll());
9
-    set("promos", Promo::getAll());
10
     
9
     
11
     return html("list.html.php", "layout.html.php");
10
     return html("list.html.php", "layout.html.php");
12
 }
11
 }

+ 1
- 0
controllers/document.php 查看文件

7
 {
7
 {
8
     set("title", "Titre");
8
     set("title", "Titre");
9
     set("data", Document::getAll());
9
     set("data", Document::getAll());
10
+    set("promos", Promo::getAll());
10
 
11
 
11
     return html("list.html.php", "layout.html.php");
12
     return html("list.html.php", "layout.html.php");
12
 }
13
 }