source:
trunk/web/app/mods/e_down.php
@
3
Last change on this file since 3 was 1, checked in by dj3c1t, 13 years ago | |
---|---|
File size: 395 bytes |
Rev | Line | |
---|---|---|
[1] | 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ès au download"; | |
11 | } | |
12 | ||
13 | ?> |
Note: See TracBrowser
for help on using the repository browser.