Révision 7096d2f9
Ajouté par Jocelyn Dealande il y a environ 10 ans
ajax/all_points.php | ||
---|---|---|
1 | 1 |
<?php |
2 |
header("Content-type: application/json"); |
|
3 |
|
|
2 | 4 |
require_once('../class/site_point.class.php'); |
3 | 5 |
|
4 | 6 |
function get_ref_points() { |
Formats disponibles : Unified diff
Refacto of Tiles handling and simplified a bit file naming for tiles/params.
By the way, fixes #297
THIS COMMIT BREAKS FILE LAYOUT AND REQUIRES MIGRATION (SEE BELLOW).
To migrate data :
cd tiles
find . '*.jpg' -exec rename 's/[^\/]*_(([0-9]{3}_){2}([0-9]{3}))/$1/' {} \;
rename 's/(.*\/).*\.params/$1site.params/' */*.params