widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #07692
Re: [Merge] lp:~widelands-dev/widelands-website/encyclopedia into lp:widelands-website
It's a bit difficult to explain... wl_map_info is working on the server. It is used to get some informations when uploading a map and to extract the picture from the mapfile. Everytime a user uploads a map wl_map_info is executed.
The difference to wl_map_object_info is, that wl_map_info is startet in the context of the browser(someone has clicked "Upload map" in the webinterface). Executing it on the servers console, it fails to execute.
So i think that the browser context makes the difference. But i am not 100% sure. Just tested to upload a map with a textbrowser (elinks) and that succeeded.
--
https://code.launchpad.net/~widelands-dev/widelands-website/encyclopedia/+merge/287410
Your team Widelands Developers is subscribed to branch lp:widelands-website.
References