# ------------------------------- # get_log_analysis_info_directory # ------------------------------- # Returns the LogAnalysisInfo directory including the last forward slash. # Note, subroutine is valid for webserver and cgi mode! subroutine(get_log_analysis_info_directory, ( string the_directory; string divider = "/"; the_directory = LOGANALYSISINFO_DIRECTORY; if (!ends_with(the_directory, divider)) then ( if (ends_with(the_directory, "\\")) then ( the_directory = replace_last(the_directory, "\\", divider); ) else ( the_directory .= divider; ); ); the_directory; ));