source: trunk/web/app/mods/e_down.php @ 10

Last change on this file since 10 was 6, checked in by dj3c1t, 13 years ago

mise a jour du trunk

File size: 395 bytes
Line 
1<?php
2
3  function e_down($env)
4  { if(($url = $env->data->inc_download_compteur($_GET[$env->param("download")])) !== false)
5    { if($force_download = $env->config("force_download"))
6      { $url = preg_replace($force_download["replace_from"], $force_download["replace_to"], $url);
7      }
8      header("Location: ".$url);
9    }
10    else echo "Erreur lors de l'acc&egrave;s au download";
11  }
12
13?>
Note: See TracBrowser for help on using the repository browser.