fixed #260: tDiary.document_root returns current directory in the CGI/FastCGI
Merge branch 'master' into fix_250

Conflicts:
	ChangeLog