Selaa lähdekoodia

limiter aux articles commençant par "20"

develop
MEUNIER Thibaud 7 vuotta sitten
vanhempi
commit
48cc573c1c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      index.php

+ 1
- 1
index.php Näytä tiedosto

@ -160,7 +160,7 @@
<?php
$odd_even = 0;
$liste = '';
foreach (glob("articles/*/header.html") as $filename) {
foreach (glob("articles/20*/header.html") as $filename) {
$article = basename(dirname($filename));
$odd_even = 1 - $odd_even;
$header = file_get_contents($filename);

Ladataan…
Peruuta
Tallenna