Project

General

Profile

Revision a1063f68

Added by Jocelyn Delande about 10 years ago

The one-step upload now handles as well the tiles generation and stops on generation errors if needed

View differences:

class/utils.class.php
84 84
    }
85 85
  }
86 86

  
87
  public static function relative_redirect($extra) {
88
    $host  = $_SERVER['HTTP_HOST'];
89
    $uri   = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
90
    header("Location: http://$host$uri/$extra");
91
  }
87 92
}
88 93

  
89 94
?>

Also available in: Unified diff