]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/opac/logic/child_init.ttk
removing old opac images and css
[Evergreen.git] / Open-ILS / src / templates / opac / logic / child_init.ttk
1 [%
2
3         # --------------------------------------------------------------------------------- 
4         # Any code  here is run on Apache child process init.  Variables created that need
5         # to live longer than this template must be added to the global cache:  
6         # websession.add_cache( $key, $value );
7         # --------------------------------------------------------------------------------- 
8
9         # --------------------------------------------------------------------------------- 
10         # Bring in the config variables
11         # --------------------------------------------------------------------------------- 
12         PROCESS "opac/conf/config.ttk";
13         
14         # --------------------------------------------------------------------------------- 
15         # Connect to transport
16         # --------------------------------------------------------------------------------- 
17
18         IF ! global.config.bootstrap;
19                 THROW PANIC "No Bootstrap Config Found in Config";
20         END;
21
22         USE websession = WebSession(); 
23         x = websession.bootstrap_client(global.config.bootstrap) 
24
25         # --------------------------------------------------------------------------------- 
26         # Load any necessary config info from storage, etc.
27         # --------------------------------------------------------------------------------- 
28
29 %]
30