--- parser3/src/targets/apache/mod_parser3_core.C 2010/11/14 22:44:23 1.2 +++ parser3/src/targets/apache/mod_parser3_core.C 2010/11/23 00:00:33 1.4 @@ -5,7 +5,7 @@ Parser: apache 1.3 module, part, compile Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_MOD_PARSER3_MAIN_C="$Date: 2010/11/14 22:44:23 $"; +static const char * const IDENT_MOD_PARSER3_MAIN_C="$Date: 2010/11/23 00:00:33 $"; #include "pa_config_includes.h" @@ -17,7 +17,6 @@ static const char * const IDENT_MOD_PARS #include "pa_sapi.h" #include "classes.h" #include "pa_request.h" -#include "pa_version.h" #include "pa_socks.h" #if _MSC_VER && !defined(_DEBUG) @@ -27,12 +26,8 @@ static const char * const IDENT_MOD_PARS // generals -const char* pa_version() { - return "Parser/"PARSER_VERSION; -} - void pa_setup_module_cells() { - static bool globals_inited=false; + static bool globals_inited=false; if(globals_inited) return; globals_inited=true; @@ -236,8 +231,7 @@ static void real_parser_handler(SAPI_Inf Request request( SAPI_info, request_info, - String::Language(String::L_HTML|String::L_OPTIMIZE_BIT), - dcfg->parser_status_allowed?true:false + String::Language(String::L_HTML|String::L_OPTIMIZE_BIT) ); // process the request