From: Gonzalo A. <ga...@us...> - 2009-06-02 17:18:50
|
Update of /cvsroot/mod-c/ehtml/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv23541/src Modified Files: EHTMLApplication.cpp Log Message: Do not start sessions if EHTMLSessions is off. Index: EHTMLApplication.cpp =================================================================== RCS file: /cvsroot/mod-c/ehtml/src/EHTMLApplication.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** EHTMLApplication.cpp 13 Jan 2009 17:21:06 -0000 1.22 --- EHTMLApplication.cpp 2 Jun 2009 17:18:46 -0000 1.23 *************** *** 117,122 **** { ProfileMe(); driver = SessionDriver::Selected(); ! if (driver != NULL) { driver->Application(this); if (!driver->Connect()) --- 117,124 ---- { ProfileMe(); + driver = SessionDriver::Selected(); ! if (RequestContext->dir_config && RequestContext->dir_config->sessions) { ! assert (driver != NULL); driver->Application(this); if (!driver->Connect()) |