 
      
    Drupal
    0
    Вклад в тег
    
      
      
    
  
  
href="user/login?destination=[site:current-page:path]"<?php
 
  $path = $_SERVER['HTTP_REFERER'];
  if (isset($_GET['current'])) {            //if (isset($_GET['destination'])) {
    $path = $_GET['current'];             // $path = $_GET['destination'];
  }                                               // }
  echo $path;
 
?>