def load_cgi_conf
			def_vars1 = ''
			def_vars2 = ''
			[
				:tdiary_version,
				:html_title, :author_name, :author_mail, :index_page, :hour_offset,
				:description, :icon, :banner, :x_frame_options,
				:header, :footer,
				:section_anchor, :comment_anchor, :date_format, :latest_limit, :show_nyear,
				:theme, :css,
				:show_comment, :comment_limit, :comment_limit_per_day,
				:mail_on_comment, :mail_header,
				:show_referer, :no_referer2, :only_volatile2, :referer_table2,
				:options2,
			].each do |var|
				def_vars1 << "#{var} = nil\n"
				def_vars2 << "@#{var} = #{var} unless #{var} == nil\n"
			end

			unless defined?(::TDiary::Cache) && ::TDiary::Cache.method_defined?(:store_cache)
				require 'tdiary/cache/file'
			end

			unless @io_class
				require 'tdiary/io/default'
				@io_class = IO::Default
				attr_reader :io_class
			end

			cgi_conf = @io_class.load_cgi_conf(self)

			b = binding
			eval( def_vars1, b )
			begin
				eval( cgi_conf, b, "(TDiary::Configuration#load_cgi_conf)", 1 )
			rescue SyntaxError
				enc = case @lang
						when 'en'
							'UTF-8'
						else
							'EUC-JP'
						end
				cgi_conf.force_encoding( enc )
				retry
			end if cgi_conf
			eval( def_vars2, b )
		end
def load_cgi_conf
			def_vars1 = ''
			def_vars2 = ''
			[
				:tdiary_version,
				:html_title, :author_name, :author_mail, :index_page, :hour_offset,
				:description, :icon, :banner, :x_frame_options,
				:header, :footer,
				:section_anchor, :comment_anchor, :date_format, :latest_limit, :show_nyear,
				:theme, :css,
				:show_comment, :comment_limit, :comment_limit_per_day,
				:mail_on_comment, :mail_header,
				:show_referer, :no_referer2, :only_volatile2, :referer_table2,
				:options2,
			].each do |var|
				def_vars1 << "#{var} = nil\n"
				def_vars2 << "@#{var} = #{var} unless #{var} == nil\n"
			end

			unless defined?(::TDiary::Cache) && ::TDiary::Cache.method_defined?(:store_cache)
				require 'tdiary/cache/file'
			end

			unless @io_class
				require 'tdiary/io/default'
				@io_class = IO::Default
				attr_reader :io_class
			end

			cgi_conf = @io_class.load_cgi_conf(self)

			b = binding
			eval( def_vars1, b )
			begin
				eval( cgi_conf, b, "(TDiary::Configuration#load_cgi_conf)", 1 )
			rescue SyntaxError
				enc = case @lang
						when 'en'
							'UTF-8'
						else
							'EUC-JP'
						end
				cgi_conf.force_encoding( enc )
				retry
			end if cgi_conf
			eval( def_vars2, b )
		end
loading tdiary.conf in @data_path.