Ignore:
Timestamp:
May 20, 2012, 12:13:25 PM (8 years ago)
Author:
patfr@…
Message:

Corbeille : précaution en cas de MAJ SPIP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/couteau_suisse/config_outils.php

    r60201 r61448  
    13071307if(!function_exists('genie_optimiser')) {
    13081308        // surcharge de la fonction d'optimisation de SPIP (inc/optimiser.php)
    1309         function genie_optimiser(\$t='foo'){ include_spip('optimiser','genie'); optimiser_base_une_table(); return -(mktime(2,0,0) + rand(0, 3600*4)); }\n}",
     1309        function genie_optimiser(\$t='foo'){ if(include_spip('optimiser','genie')) optimiser_base_une_table(); return -(mktime(2,0,0) + rand(0, 3600*4)); }\n}",
    13101310));
    13111311
Note: See TracChangeset for help on using the changeset viewer.