3 # ---------------------------------------------------------------------------------
4 # Any code that is included here will be run just before any pages are started
5 # ---------------------------------------------------------------------------------
9 # ---------------------------------------------------------------------------------
10 # Bring in the config variables
11 # ---------------------------------------------------------------------------------
12 PROCESS "opac/conf/config.ttk";
14 # ---------------------------------------------------------------------------------
15 # Bring in the localized text
16 # ---------------------------------------------------------------------------------
17 PROCESS "opac/conf/textmap_en_us.ttk";
19 # ---------------------------------------------------------------------------------
20 # Build a global WebSession object
21 # ---------------------------------------------------------------------------------
22 USE websession = WebSession();
23 global.websession = websession;
26 # ---------------------------------------------------------------------------------
27 # We have to log in to the server in order to have a session id. For now, we log
29 # ---------------------------------------------------------------------------------
32 #session = global.websession.init_app_session( global.config.app.auth );
33 #req = session.request( method, sclass, "title", sstring );