Révision a1063f68
Ajouté par Jocelyn Delande il y a presque 11 ans
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 |
?> |
Formats disponibles : Unified diff
The one-step upload now handles as well the tiles generation and stops on generation errors if needed