script when retracting to the top.
with
Librarian.NoRootFor _ | Librarian.FileNotFound _ -> "",[] in
include_paths := incpaths;
- let status = MatitaAuthentication.get_status sid in
- MatitaAuthentication.set_status sid (status#set_baseuri baseuri);
+ let status = (MatitaAuthentication.get_status sid)#set_baseuri baseuri in
+ let history = [status] in
+ MatitaAuthentication.set_status sid status;
+ MatitaAuthentication.set_history sid history;
cgi # set_header
~cache:`No_cache
~content_type:"text/xml; charset=\"utf-8\""