    # File daybook/mycgi/daybook/base/daybook_lib.rb, line 21
      def initialize(mod)
        @mod = mod
        @base_url = @mod::BASE_URL #= "http://127.0.0.1:3000/"
        @base_dir = @mod::BASE_DIR #= "/xxx/xxx/webhome"
        @entryview = @mod::ENTRY_VIEW #= "10"

        @url_daybook = File.join(@base_url, "daybook")#"http://127.0.0.1:3000/daybook/"
        ########### Look!
        @url_archives_dir = File.join(@base_url, "daybook", "daybook_archives")#"http://127.0.0.1:3000/daybook/daybook_archives/"

        @private_daybook_dir = File.join(@base_dir, "daybook")# "/xxx/xxx/webhome/daybook"
        @public_dir = File.join(@base_dir, "public_html")# "/xxx/xxx/webhome/public_html"
        @public_daybook_dir = File.join(@base_dir, "public_html", "daybook")# "/xxx/xxx/webhome/public_html/daybook"
        #---------------------------
        @path_script_dir = File.join(@public_dir, "mycgi")
        @path_trash = File.join(@private_daybook_dir, "trash") #2006-10-25
        @path_xml_dir = File.join(@private_daybook_dir, "daybook_xml")
        @path_xsl_dir = File.join(@private_daybook_dir, "daybook_xsl")
        @path_xhtml_dir = File.join(@public_daybook_dir, "daybook_archives")
        @path_admin_dir = File.join(@public_dir, "admin")
        @path_admin_trash_dir = File.join(@path_admin_dir, "daybook_trash")

        @path_xsl_index_file = File.join(@path_xsl_dir, "daybook_index.xsl")
        @path_xsl_post_file = File.join(@path_xsl_dir, "daybook_entry.xsl")
        @path_xsl_archives_file = File.join(@path_xsl_dir, "daybook_archives.xsl")
        @path_xsl_admin_file = File.join(@path_xsl_dir, "daybook_admin.xsl")
        @path_xsl_search_file = File.join(@path_xsl_dir, "daybook_search.xsl")

        @path_index_file = File.join(@public_daybook_dir, "daybook_index.html")
        @path_archive_file = File.join(@public_daybook_dir, "daybook_archives.html")
        @path_xmllog_file = File.join(@private_daybook_dir, "daybook_log", "xml.log")
        @path_maillog_file = File.join(@private_daybook_dir, "daybook_log", "commentmail.log")
        @path_admin_file = File.join(@path_admin_dir,"daybook_admin.html")

        @path_lwws_xmldir =File.join(@public_dir,"lwws", "xmldata")

      end