source: branches/rsr.v5.1.dev/web/app/mods/e_down.php @ 2

Last change on this file since 2 was 1, checked in by dj3c1t, 13 years ago

import initial

File size: 395 bytes
RevLine 
[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&egrave;s au download";
11  }
12
13?>
Note: See TracBrowser for help on using the repository browser.