Révision ce399d47 plugins/anet_epacks/front/plugin_anet_epacks.generate_odt_activated.form.php
plugins/anet_epacks/front/plugin_anet_epacks.generate_odt_activated.form.php | ||
---|---|---|
13 | 13 |
//checkSeveralRightsOr(array("config" => "w", "profile" => "w")); |
14 | 14 |
|
15 | 15 |
//Si le fichier existe déjà on le passe |
16 |
$fichier = "archives/" . $_GET['date'] . "-" . $_GET['code'] . $_GET['mode'] . ".activated.odt";
|
|
16 |
$fichier = "archives/" . str_replace("-","",$_GET['date']) . "-" . $_GET['code'] . $_GET['mode'] . ".activated.odt";
|
|
17 | 17 |
|
18 | 18 |
pushfile($fichier); |
19 | 19 |
|
... | ... | |
106 | 106 |
|
107 | 107 |
|
108 | 108 |
//On créé un fichier local pour archive ... |
109 |
$odf->saveToDisk("archives/" . $_GET['date'] . "-" . $data['code'] . $_GET['mode'] . ".activated.odt");
|
|
109 |
$odf->saveToDisk("archives/" . str_replace("-","",$_GET['date']) . "-" . $data['code'] . $_GET['mode'] . ".activated.odt");
|
|
110 | 110 |
|
111 | 111 |
pushfile($fichier); |
112 | 112 |
|
Formats disponibles : Unified diff