--- nfo/projects/netfraggle/bin/fraggleMain.py 2004/08/30 13:01:47 1.6 +++ nfo/projects/netfraggle/bin/fraggleMain.py 2004/08/30 13:55:12 1.7 @@ -1,8 +1,11 @@ #!/usr/bin/env python #Boa:App:BoaApp -# $Id: fraggleMain.py,v 1.6 2004/08/30 13:01:47 joko Exp $ +# $Id: fraggleMain.py,v 1.7 2004/08/30 13:55:12 joko Exp $ # $Log: fraggleMain.py,v $ +# Revision 1.7 2004/08/30 13:55:12 joko +# + caching phpsessionid here +# # Revision 1.6 2004/08/30 13:01:47 joko # U prepend "libs"-dir to path # @@ -57,9 +60,11 @@ EVT_MENU(self, wxID_FRAGGLEVIEWPORTMENU2ABOUT, self.OnMenu2items1Menu) def main(): + global engine, phpsessionid sys.path.insert(0, os.path.join(APPLOCATION, '..', 'libs')) - global engine engine = FraggleEngine() + # TODO: move elsewhere! + phpsessionid = "" application = BoaApp(0) application.MainLoop()