Changeset 52340 in spip-zone
- Timestamp:
- Oct 3, 2011, 1:30:26 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/doc2img/action/doc2img_convert.php
r42603 r52340 6 6 7 7 if (!defined("_ECRIRE_INC_VERSION")) return; 8 9 include_spip('inc/actions'); 8 10 9 11 /** … … 30 32 } 31 33 32 $redirect = _request('redirect'); 33 //charge la page donnée par $redirect à defaut la page appelante 34 if (!$redirect){ 35 $redirect = $_SERVER['HTTP_REFERER']; 36 }else { 37 $redirect = urldecode($redirect); 34 if(_request('redirect')){ 35 $redirect = str_replace('&','&',urldecode(_request('redirect'))); 38 36 } 39 40 include_spip('inc/headers'); 41 redirige_par_entete($redirect); 37 return $redirect; 42 38 } 43 39 ?>
Note: See TracChangeset
for help on using the changeset viewer.