Changeset 62971 in spip-zone for _dev_


Ignore:
Timestamp:
Jun 25, 2012, 10:10:32 AM (7 years ago)
Author:
cedric@…
Message:

une constante pour le nom du fichier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _dev_/univers_spip/genie/univers_statsv.php

    r62970 r62971  
    3131        $stats = json_encode($stats);
    3232
    33         $filename = _DIR_VAR."histostats.json.txt";
     33        $filename = _DIR_VAR.(defined('_UNIVERS_STATSV_FILE')?:"histostats.json.txt");
    3434        ecrire_fichier($filename,"$stats\n",false,false);
    3535
Note: See TracChangeset for help on using the changeset viewer.