# ----------------------- # get_loganalysisinfo_dir # ----------------------- # Returns the LogAnalysisInfo directory including the last forward slash. # Note, subroutine is valid for webserver and cgi mode! subroutine(get_loganalysisinfo_dir, ( 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; ));