Changeset 59708 in spip-zone


Ignore:
Timestamp:
Mar 25, 2012, 12:03:04 PM (7 years ago)
Author:
maieul@…
Message:

tester quand mê
define('_CNIL_PERIODE', 3600*24*31*4);

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/forum/forum_pipelines.php

    r59707 r59708  
    295295        ## date de reference = 4 mois
    296296        ## definir a 0 pour desactiver
    297         define('_CNIL_PERIODE', 3600*24*31*4);
    298 
     297        if (!defined('_CNIL_PERIODE')) {
     298                define('_CNIL_PERIODE', 3600*24*31*4);
     299        }
    299300        if (_CNIL_PERIODE) {
    300301                $critere_cnil = 'date_heure<"'.date('Y-m-d', time()-_CNIL_PERIODE).'"'
Note: See TracChangeset for help on using the changeset viewer.