fixed: when demonizing there were some logs info put twice in the log file

now we first demonize (fork) and then open the log file
added: start adding support for PT::Date 
       we are using instead of tz system structure



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@836 e52654a7-88a9-db11-a3e9-0013d4bc506e
pull/3/head
Tomasz Sowa 11 years ago
parent 67099d5d06
commit 0df088e1e2

@ -26,7 +26,7 @@ winix.so: FORCE
@cd ../ezc/src ; $(MAKE) -e
@cd ../tito/src ; $(MAKE) -e
@cd ../pikotools ; $(MAKE) -e
$(CXX) -shared -rdynamic -Wl,-whole-archive -o winix.so $(CXXFLAGS) core/*.o db/*.o functions/*.o templates/*.o notify/*.o ../ezc/src/ezc.a ../tito/src/tito.a ../pikotools/utf8/utf8.a ../pikotools/space/space.a ../pikotools/mainparser/mainparser.a -lfcgi -lpq -lz -lfetch -lpthread -Wl,-no-whole-archive
$(CXX) -shared -rdynamic -Wl,-whole-archive -o winix.so $(CXXFLAGS) core/*.o db/*.o functions/*.o templates/*.o notify/*.o ../ezc/src/ezc.a ../tito/src/tito.a ../pikotools/utf8/utf8.a ../pikotools/space/space.a ../pikotools/mainparser/mainparser.a ../pikotools/date/date.a -lfcgi -lpq -lz -lfetch -lpthread -Wl,-no-whole-archive
winix: FORCE

@ -5,12 +5,13 @@ app.o: app.h config.h ../../pikotools/space/spaceparser.h
app.o: ../../pikotools/space/space.h htmlfilter.h system.h job.h basethread.h
app.o: synchro.h ../../pikotools/space/space.h dirs.h item.h dircontainer.h
app.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
app.o: ../core/textstream.h misc.h requesttypes.h ../core/error.h
app.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
app.o: ../core/user.h ../core/group.h ../core/dircontainer.h
app.o: ../core/ugcontainer.h log.h textstream.h logmanipulators.h slog.h
app.o: cur.h request.h error.h ../templates/htmltextstream.h session.h user.h
app.o: plugindata.h rebus.h mount.h ../templates/locale.h ../notify/notify.h
app.o: ../core/textstream.h misc.h requesttypes.h ../../pikotools/date/date.h
app.o: ../core/error.h ../db/dbitemquery.h ../core/item.h
app.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
app.o: ../core/dircontainer.h ../core/ugcontainer.h log.h textstream.h
app.o: logmanipulators.h slog.h cur.h request.h error.h
app.o: ../templates/htmltextstream.h session.h user.h plugindata.h rebus.h
app.o: mount.h ../templates/locale.h ../notify/notify.h
app.o: ../notify/notifypool.h ../templates/patterns.h ../templates/locale.h
app.o: ../templates/localefilter.h ../../ezc/src/ezc.h
app.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h
@ -50,43 +51,43 @@ compress.o: request.h requesttypes.h item.h ../../pikotools/space/space.h
compress.o: error.h config.h ../../pikotools/space/spaceparser.h
compress.o: ../../pikotools/space/space.h htmlfilter.h
compress.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
compress.o: session.h user.h plugindata.h rebus.h mount.h
compress.o: ../templates/locale.h
compress.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
compress.o: mount.h ../templates/locale.h
config.o: config.h ../../pikotools/space/spaceparser.h
config.o: ../../pikotools/space/space.h htmlfilter.h log.h textstream.h
config.o: logmanipulators.h slog.h cur.h request.h requesttypes.h item.h
config.o: ../../pikotools/space/space.h error.h ../templates/htmltextstream.h
config.o: ../core/textstream.h misc.h session.h user.h plugindata.h rebus.h
config.o: mount.h ../templates/locale.h plugin.h pluginmsg.h system.h job.h
config.o: basethread.h synchro.h dirs.h dircontainer.h ../db/db.h
config.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h ../core/error.h
config.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
config.o: ../core/user.h ../core/group.h ../core/dircontainer.h
config.o: ../core/ugcontainer.h ../notify/notify.h ../notify/notifypool.h
config.o: ../templates/patterns.h ../templates/locale.h
config.o: ../templates/localefilter.h ../../ezc/src/ezc.h
config.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h
config.o: ../../ezc/src/functions.h ../../ezc/src/funinfo.h
config.o: ../../ezc/src/stringconv.h ../../pikotools/utf8/utf8.h
config.o: ../notify/notifythread.h ../core/basethread.h
config.o: ../notify/templatesnotify.h ../core/config.h ../core/users.h
config.o: ugcontainer.h lastcontainer.h mounts.h mountparser.h crypt.h run.h
config.o: users.h groups.h group.h loadavg.h image.h threadmanager.h
config.o: sessionmanager.h sessioncontainer.h ../functions/functions.h
config.o: ../functions/functionbase.h ../core/request.h ../core/system.h
config.o: ../core/synchro.h ../functions/functionparser.h ../core/cur.h
config.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
config.o: ../functions/privchanger.h ../functions/chown.h
config.o: ../functions/ckeditor.h ../functions/cp.h ../functions/default.h
config.o: ../functions/download.h ../functions/emacs.h ../functions/env.h
config.o: ../functions/last.h ../functions/login.h ../functions/logout.h
config.o: ../functions/ln.h ../functions/ls.h ../functions/man.h
config.o: ../functions/meta.h ../functions/mkdir.h ../functions/mv.h
config.o: ../functions/nicedit.h ../functions/node.h ../functions/passwd.h
config.o: ../functions/priv.h ../functions/pw.h ../functions/reload.h
config.o: ../functions/rm.h ../functions/rmuser.h ../functions/sort.h
config.o: ../functions/specialdefault.h ../functions/stat.h
config.o: ../functions/subject.h ../functions/template.h
config.o: ../core/textstream.h misc.h ../../pikotools/date/date.h session.h
config.o: user.h plugindata.h rebus.h mount.h ../templates/locale.h plugin.h
config.o: pluginmsg.h system.h job.h basethread.h synchro.h dirs.h
config.o: dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
config.o: ../db/dbtextstream.h ../core/error.h ../db/dbitemquery.h
config.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
config.o: ../core/dircontainer.h ../core/ugcontainer.h ../notify/notify.h
config.o: ../notify/notifypool.h ../templates/patterns.h
config.o: ../templates/locale.h ../templates/localefilter.h
config.o: ../../ezc/src/ezc.h ../../ezc/src/generator.h
config.o: ../../ezc/src/pattern.h ../../ezc/src/functions.h
config.o: ../../ezc/src/funinfo.h ../../ezc/src/stringconv.h
config.o: ../../pikotools/utf8/utf8.h ../notify/notifythread.h
config.o: ../core/basethread.h ../notify/templatesnotify.h ../core/config.h
config.o: ../core/users.h ugcontainer.h lastcontainer.h mounts.h
config.o: mountparser.h crypt.h run.h users.h groups.h group.h loadavg.h
config.o: image.h threadmanager.h sessionmanager.h sessioncontainer.h
config.o: ../functions/functions.h ../functions/functionbase.h
config.o: ../core/request.h ../core/system.h ../core/synchro.h
config.o: ../functions/functionparser.h ../core/cur.h ../functions/adduser.h
config.o: ../functions/cat.h ../functions/chmod.h ../functions/privchanger.h
config.o: ../functions/chown.h ../functions/ckeditor.h ../functions/cp.h
config.o: ../functions/default.h ../functions/download.h ../functions/emacs.h
config.o: ../functions/env.h ../functions/last.h ../functions/login.h
config.o: ../functions/logout.h ../functions/ln.h ../functions/ls.h
config.o: ../functions/man.h ../functions/meta.h ../functions/mkdir.h
config.o: ../functions/mv.h ../functions/nicedit.h ../functions/node.h
config.o: ../functions/passwd.h ../functions/priv.h ../functions/pw.h
config.o: ../functions/reload.h ../functions/rm.h ../functions/rmuser.h
config.o: ../functions/sort.h ../functions/specialdefault.h
config.o: ../functions/stat.h ../functions/subject.h ../functions/template.h
config.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
config.o: ../functions/uptime.h ../functions/who.h ../functions/vim.h
config.o: ../core/htmlfilter.h ../templates/templates.h
@ -98,19 +99,21 @@ crypt.o: ../../pikotools/space/space.h htmlfilter.h user.h
crypt.o: ../../pikotools/utf8/utf8.h misc.h item.h
crypt.o: ../../pikotools/space/space.h requesttypes.h log.h textstream.h
crypt.o: logmanipulators.h slog.h cur.h request.h error.h
crypt.o: ../templates/htmltextstream.h ../core/textstream.h session.h
crypt.o: plugindata.h rebus.h mount.h ../templates/locale.h
crypt.o: ../templates/htmltextstream.h ../core/textstream.h
crypt.o: ../../pikotools/date/date.h session.h plugindata.h rebus.h mount.h
crypt.o: ../templates/locale.h
dircontainer.o: dircontainer.h item.h ../../pikotools/space/space.h log.h
dircontainer.o: textstream.h logmanipulators.h slog.h cur.h request.h
dircontainer.o: requesttypes.h error.h config.h
dircontainer.o: ../../pikotools/space/spaceparser.h
dircontainer.o: ../../pikotools/space/space.h htmlfilter.h
dircontainer.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
dircontainer.o: session.h user.h plugindata.h rebus.h mount.h
dircontainer.o: ../templates/locale.h
dircontainer.o: ../../pikotools/date/date.h session.h user.h plugindata.h
dircontainer.o: rebus.h mount.h ../templates/locale.h
dirs.o: dirs.h item.h ../../pikotools/space/space.h dircontainer.h ../db/db.h
dirs.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
dirs.o: ../core/textstream.h misc.h requesttypes.h ../core/error.h
dirs.o: ../core/textstream.h misc.h requesttypes.h
dirs.o: ../../pikotools/date/date.h ../core/error.h
dirs.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
dirs.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
dirs.o: ../core/user.h ../core/group.h ../core/dircontainer.h
@ -128,7 +131,8 @@ dirs.o: ../notify/templatesnotify.h ../core/config.h ../core/users.h
dirs.o: ugcontainer.h lastcontainer.h
groups.o: groups.h group.h ugcontainer.h ../db/db.h ../db/dbbase.h
groups.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h misc.h
groups.o: item.h ../../pikotools/space/space.h requesttypes.h ../core/error.h
groups.o: item.h ../../pikotools/space/space.h requesttypes.h
groups.o: ../../pikotools/date/date.h ../core/error.h
groups.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
groups.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
groups.o: ../core/user.h ../core/group.h ../core/dircontainer.h
@ -141,38 +145,38 @@ httpsimpleparser.o: httpsimpleparser.h
image.o: image.h basethread.h synchro.h textstream.h ../db/db.h
image.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
image.o: ../core/textstream.h misc.h item.h ../../pikotools/space/space.h
image.o: requesttypes.h ../core/error.h ../../pikotools/space/spaceparser.h
image.o: ../../pikotools/space/space.h ../db/dbitemquery.h ../core/item.h
image.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
image.o: ../core/dircontainer.h ../core/ugcontainer.h log.h logmanipulators.h
image.o: slog.h cur.h request.h error.h config.h htmlfilter.h
image.o: ../templates/htmltextstream.h session.h user.h plugindata.h rebus.h
image.o: mount.h ../templates/locale.h ../core/config.h
image.o: ../../pikotools/utf8/utf8.h system.h job.h dirs.h dircontainer.h
image.o: ../notify/notify.h ../notify/notifypool.h ../templates/patterns.h
image.o: ../templates/locale.h ../templates/localefilter.h
image.o: ../../ezc/src/ezc.h ../../ezc/src/generator.h
image.o: ../../ezc/src/pattern.h ../../ezc/src/functions.h
image.o: ../../ezc/src/funinfo.h ../../ezc/src/stringconv.h
image.o: ../notify/notifythread.h ../core/basethread.h
image.o: ../notify/templatesnotify.h ../core/users.h ugcontainer.h
image.o: lastcontainer.h mounts.h mountparser.h crypt.h run.h users.h
image.o: groups.h group.h loadavg.h threadmanager.h plugin.h pluginmsg.h
image.o: sessionmanager.h sessioncontainer.h ../functions/functions.h
image.o: ../functions/functionbase.h ../core/request.h ../core/system.h
image.o: ../core/synchro.h ../functions/functionparser.h ../core/cur.h
image.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
image.o: ../functions/privchanger.h ../functions/chown.h
image.o: ../functions/ckeditor.h ../functions/cp.h ../functions/default.h
image.o: ../functions/download.h ../functions/emacs.h ../functions/env.h
image.o: ../functions/last.h ../functions/login.h ../functions/logout.h
image.o: ../functions/ln.h ../functions/ls.h ../functions/man.h
image.o: ../functions/meta.h ../functions/mkdir.h ../functions/mv.h
image.o: ../functions/nicedit.h ../functions/node.h ../functions/passwd.h
image.o: ../functions/priv.h ../functions/pw.h ../functions/reload.h
image.o: ../functions/rm.h ../functions/rmuser.h ../functions/sort.h
image.o: ../functions/specialdefault.h ../functions/stat.h
image.o: ../functions/subject.h ../functions/template.h
image.o: requesttypes.h ../../pikotools/date/date.h ../core/error.h
image.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
image.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
image.o: ../core/user.h ../core/group.h ../core/dircontainer.h
image.o: ../core/ugcontainer.h log.h logmanipulators.h slog.h cur.h request.h
image.o: error.h config.h htmlfilter.h ../templates/htmltextstream.h
image.o: session.h user.h plugindata.h rebus.h mount.h ../templates/locale.h
image.o: ../core/config.h ../../pikotools/utf8/utf8.h system.h job.h dirs.h
image.o: dircontainer.h ../notify/notify.h ../notify/notifypool.h
image.o: ../templates/patterns.h ../templates/locale.h
image.o: ../templates/localefilter.h ../../ezc/src/ezc.h
image.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h
image.o: ../../ezc/src/functions.h ../../ezc/src/funinfo.h
image.o: ../../ezc/src/stringconv.h ../notify/notifythread.h
image.o: ../core/basethread.h ../notify/templatesnotify.h ../core/users.h
image.o: ugcontainer.h lastcontainer.h mounts.h mountparser.h crypt.h run.h
image.o: users.h groups.h group.h loadavg.h threadmanager.h plugin.h
image.o: pluginmsg.h sessionmanager.h sessioncontainer.h
image.o: ../functions/functions.h ../functions/functionbase.h
image.o: ../core/request.h ../core/system.h ../core/synchro.h
image.o: ../functions/functionparser.h ../core/cur.h ../functions/adduser.h
image.o: ../functions/cat.h ../functions/chmod.h ../functions/privchanger.h
image.o: ../functions/chown.h ../functions/ckeditor.h ../functions/cp.h
image.o: ../functions/default.h ../functions/download.h ../functions/emacs.h
image.o: ../functions/env.h ../functions/last.h ../functions/login.h
image.o: ../functions/logout.h ../functions/ln.h ../functions/ls.h
image.o: ../functions/man.h ../functions/meta.h ../functions/mkdir.h
image.o: ../functions/mv.h ../functions/nicedit.h ../functions/node.h
image.o: ../functions/passwd.h ../functions/priv.h ../functions/pw.h
image.o: ../functions/reload.h ../functions/rm.h ../functions/rmuser.h
image.o: ../functions/sort.h ../functions/specialdefault.h
image.o: ../functions/stat.h ../functions/subject.h ../functions/template.h
image.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
image.o: ../functions/uptime.h ../functions/who.h ../functions/vim.h
image.o: ../core/htmlfilter.h ../templates/templates.h
@ -187,13 +191,13 @@ job.o: pluginmsg.h log.h textstream.h logmanipulators.h slog.h cur.h
job.o: request.h requesttypes.h item.h error.h config.h
job.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
job.o: htmlfilter.h ../templates/htmltextstream.h ../core/textstream.h misc.h
job.o: session.h user.h plugindata.h rebus.h mount.h ../templates/locale.h
job.o: system.h dirs.h dircontainer.h ../db/db.h ../db/dbbase.h
job.o: ../db/dbconn.h ../db/dbtextstream.h ../core/error.h
job.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
job.o: ../core/user.h ../core/group.h ../core/dircontainer.h
job.o: ../core/ugcontainer.h ../notify/notify.h ../notify/notifypool.h
job.o: ../templates/patterns.h ../templates/locale.h
job.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
job.o: mount.h ../templates/locale.h system.h dirs.h dircontainer.h
job.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
job.o: ../core/error.h ../db/dbitemquery.h ../core/item.h
job.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
job.o: ../core/dircontainer.h ../core/ugcontainer.h ../notify/notify.h
job.o: ../notify/notifypool.h ../templates/patterns.h ../templates/locale.h
job.o: ../templates/localefilter.h ../../ezc/src/ezc.h
job.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h
job.o: ../../ezc/src/functions.h ../../ezc/src/funinfo.h
@ -229,29 +233,29 @@ lastcontainer.o: ../../pikotools/space/space.h error.h config.h
lastcontainer.o: ../../pikotools/space/spaceparser.h
lastcontainer.o: ../../pikotools/space/space.h htmlfilter.h
lastcontainer.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
lastcontainer.o: session.h user.h plugindata.h rebus.h mount.h
lastcontainer.o: ../templates/locale.h
lastcontainer.o: ../../pikotools/date/date.h session.h user.h plugindata.h
lastcontainer.o: rebus.h mount.h ../templates/locale.h
loadavg.o: loadavg.h log.h textstream.h logmanipulators.h slog.h cur.h
loadavg.o: request.h requesttypes.h item.h ../../pikotools/space/space.h
loadavg.o: error.h config.h ../../pikotools/space/spaceparser.h
loadavg.o: ../../pikotools/space/space.h htmlfilter.h
loadavg.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
loadavg.o: session.h user.h plugindata.h rebus.h mount.h
loadavg.o: ../templates/locale.h
loadavg.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
loadavg.o: mount.h ../templates/locale.h
log.o: log.h textstream.h logmanipulators.h slog.h cur.h request.h
log.o: requesttypes.h item.h ../../pikotools/space/space.h error.h config.h
log.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
log.o: htmlfilter.h ../templates/htmltextstream.h ../core/textstream.h misc.h
log.o: session.h user.h plugindata.h rebus.h mount.h ../templates/locale.h
log.o: ../../pikotools/utf8/utf8.h
log.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
log.o: mount.h ../templates/locale.h ../../pikotools/utf8/utf8.h
misc.o: misc.h item.h ../../pikotools/space/space.h requesttypes.h log.h
misc.o: textstream.h logmanipulators.h slog.h cur.h request.h error.h
misc.o: config.h ../../pikotools/space/spaceparser.h
misc.o: ../../pikotools/space/space.h htmlfilter.h
misc.o: ../templates/htmltextstream.h ../core/textstream.h session.h user.h
misc.o: plugindata.h rebus.h mount.h ../templates/locale.h
misc.o: ../templates/templates.h ../../ezc/src/ezc.h
misc.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h
misc.o: ../templates/htmltextstream.h ../core/textstream.h
misc.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
misc.o: mount.h ../templates/locale.h ../templates/templates.h
misc.o: ../../ezc/src/ezc.h ../../ezc/src/generator.h ../../ezc/src/pattern.h
misc.o: ../../ezc/src/functions.h ../../ezc/src/funinfo.h
misc.o: ../../ezc/src/stringconv.h ../../pikotools/utf8/utf8.h
misc.o: ../templates/patterncacher.h ../core/item.h
@ -267,7 +271,7 @@ mount.o: mount.h misc.h item.h ../../pikotools/space/space.h requesttypes.h
mountparser.o: mountparser.h mount.h item.h ../../pikotools/space/space.h
mountparser.o: dirs.h dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
mountparser.o: ../db/dbtextstream.h ../core/textstream.h misc.h
mountparser.o: requesttypes.h ../core/error.h
mountparser.o: requesttypes.h ../../pikotools/date/date.h ../core/error.h
mountparser.o: ../../pikotools/space/spaceparser.h
mountparser.o: ../../pikotools/space/space.h ../db/dbitemquery.h
mountparser.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h
@ -287,7 +291,8 @@ mountparser.o: ugcontainer.h lastcontainer.h
mounts.o: mounts.h mount.h error.h dirs.h item.h
mounts.o: ../../pikotools/space/space.h dircontainer.h ../db/db.h
mounts.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
mounts.o: ../core/textstream.h misc.h requesttypes.h ../core/error.h
mounts.o: ../core/textstream.h misc.h requesttypes.h
mounts.o: ../../pikotools/date/date.h ../core/error.h
mounts.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
mounts.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
mounts.o: ../core/user.h ../core/group.h ../core/dircontainer.h
@ -329,37 +334,37 @@ plugin.o: plugin.h pluginmsg.h log.h textstream.h logmanipulators.h slog.h
plugin.o: cur.h request.h requesttypes.h item.h ../../pikotools/space/space.h
plugin.o: error.h config.h ../../pikotools/space/spaceparser.h
plugin.o: ../../pikotools/space/space.h htmlfilter.h
plugin.o: ../templates/htmltextstream.h ../core/textstream.h misc.h session.h
plugin.o: user.h plugindata.h rebus.h mount.h ../templates/locale.h system.h
plugin.o: job.h basethread.h synchro.h dirs.h dircontainer.h ../db/db.h
plugin.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h ../core/error.h
plugin.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
plugin.o: ../core/user.h ../core/group.h ../core/dircontainer.h
plugin.o: ../core/ugcontainer.h ../notify/notify.h ../notify/notifypool.h
plugin.o: ../templates/patterns.h ../templates/locale.h
plugin.o: ../templates/localefilter.h ../../ezc/src/ezc.h
plugin.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h
plugin.o: ../../ezc/src/functions.h ../../ezc/src/funinfo.h
plugin.o: ../../ezc/src/stringconv.h ../../pikotools/utf8/utf8.h
plugin.o: ../notify/notifythread.h ../core/basethread.h
plugin.o: ../notify/templatesnotify.h ../core/config.h ../core/users.h
plugin.o: ugcontainer.h lastcontainer.h mounts.h mountparser.h crypt.h run.h
plugin.o: users.h groups.h group.h loadavg.h image.h threadmanager.h
plugin.o: sessionmanager.h sessioncontainer.h ../functions/functions.h
plugin.o: ../functions/functionbase.h ../core/request.h ../core/system.h
plugin.o: ../core/synchro.h ../functions/functionparser.h ../core/cur.h
plugin.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
plugin.o: ../functions/privchanger.h ../functions/chown.h
plugin.o: ../functions/ckeditor.h ../functions/cp.h ../functions/default.h
plugin.o: ../functions/download.h ../functions/emacs.h ../functions/env.h
plugin.o: ../functions/last.h ../functions/login.h ../functions/logout.h
plugin.o: ../functions/ln.h ../functions/ls.h ../functions/man.h
plugin.o: ../functions/meta.h ../functions/mkdir.h ../functions/mv.h
plugin.o: ../functions/nicedit.h ../functions/node.h ../functions/passwd.h
plugin.o: ../functions/priv.h ../functions/pw.h ../functions/reload.h
plugin.o: ../functions/rm.h ../functions/rmuser.h ../functions/sort.h
plugin.o: ../functions/specialdefault.h ../functions/stat.h
plugin.o: ../functions/subject.h ../functions/template.h
plugin.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
plugin.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
plugin.o: mount.h ../templates/locale.h system.h job.h basethread.h synchro.h
plugin.o: dirs.h dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
plugin.o: ../db/dbtextstream.h ../core/error.h ../db/dbitemquery.h
plugin.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
plugin.o: ../core/dircontainer.h ../core/ugcontainer.h ../notify/notify.h
plugin.o: ../notify/notifypool.h ../templates/patterns.h
plugin.o: ../templates/locale.h ../templates/localefilter.h
plugin.o: ../../ezc/src/ezc.h ../../ezc/src/generator.h
plugin.o: ../../ezc/src/pattern.h ../../ezc/src/functions.h
plugin.o: ../../ezc/src/funinfo.h ../../ezc/src/stringconv.h
plugin.o: ../../pikotools/utf8/utf8.h ../notify/notifythread.h
plugin.o: ../core/basethread.h ../notify/templatesnotify.h ../core/config.h
plugin.o: ../core/users.h ugcontainer.h lastcontainer.h mounts.h
plugin.o: mountparser.h crypt.h run.h users.h groups.h group.h loadavg.h
plugin.o: image.h threadmanager.h sessionmanager.h sessioncontainer.h
plugin.o: ../functions/functions.h ../functions/functionbase.h
plugin.o: ../core/request.h ../core/system.h ../core/synchro.h
plugin.o: ../functions/functionparser.h ../core/cur.h ../functions/adduser.h
plugin.o: ../functions/cat.h ../functions/chmod.h ../functions/privchanger.h
plugin.o: ../functions/chown.h ../functions/ckeditor.h ../functions/cp.h
plugin.o: ../functions/default.h ../functions/download.h ../functions/emacs.h
plugin.o: ../functions/env.h ../functions/last.h ../functions/login.h
plugin.o: ../functions/logout.h ../functions/ln.h ../functions/ls.h
plugin.o: ../functions/man.h ../functions/meta.h ../functions/mkdir.h
plugin.o: ../functions/mv.h ../functions/nicedit.h ../functions/node.h
plugin.o: ../functions/passwd.h ../functions/priv.h ../functions/pw.h
plugin.o: ../functions/reload.h ../functions/rm.h ../functions/rmuser.h
plugin.o: ../functions/sort.h ../functions/specialdefault.h
plugin.o: ../functions/stat.h ../functions/subject.h ../functions/template.h
plugin.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
plugin.o: ../functions/uptime.h ../functions/who.h ../functions/vim.h
plugin.o: ../core/htmlfilter.h ../templates/templates.h
@ -372,25 +377,26 @@ plugindata.o: ../../pikotools/space/space.h error.h config.h
plugindata.o: ../../pikotools/space/spaceparser.h
plugindata.o: ../../pikotools/space/space.h htmlfilter.h
plugindata.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
plugindata.o: session.h user.h rebus.h mount.h ../templates/locale.h system.h
plugindata.o: job.h basethread.h synchro.h dirs.h dircontainer.h ../db/db.h
plugindata.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
plugindata.o: ../core/error.h ../db/dbitemquery.h ../core/item.h
plugindata.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
plugindata.o: ../core/dircontainer.h ../core/ugcontainer.h ../notify/notify.h
plugindata.o: ../notify/notifypool.h ../templates/patterns.h
plugindata.o: ../templates/locale.h ../templates/localefilter.h
plugindata.o: ../../ezc/src/ezc.h ../../ezc/src/generator.h
plugindata.o: ../../ezc/src/pattern.h ../../ezc/src/functions.h
plugindata.o: ../../ezc/src/funinfo.h ../../ezc/src/stringconv.h
plugindata.o: ../../pikotools/utf8/utf8.h ../notify/notifythread.h
plugindata.o: ../core/basethread.h ../notify/templatesnotify.h
plugindata.o: ../core/config.h ../core/users.h ugcontainer.h lastcontainer.h
plugindata.o: mounts.h mountparser.h crypt.h run.h users.h groups.h group.h
plugindata.o: loadavg.h image.h threadmanager.h sessionmanager.h
plugindata.o: sessioncontainer.h ../functions/functions.h
plugindata.o: ../functions/functionbase.h ../core/request.h ../core/system.h
plugindata.o: ../core/synchro.h ../functions/functionparser.h ../core/cur.h
plugindata.o: ../../pikotools/date/date.h session.h user.h rebus.h mount.h
plugindata.o: ../templates/locale.h system.h job.h basethread.h synchro.h
plugindata.o: dirs.h dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
plugindata.o: ../db/dbtextstream.h ../core/error.h ../db/dbitemquery.h
plugindata.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h
plugindata.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
plugindata.o: ../notify/notify.h ../notify/notifypool.h
plugindata.o: ../templates/patterns.h ../templates/locale.h
plugindata.o: ../templates/localefilter.h ../../ezc/src/ezc.h
plugindata.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h
plugindata.o: ../../ezc/src/functions.h ../../ezc/src/funinfo.h
plugindata.o: ../../ezc/src/stringconv.h ../../pikotools/utf8/utf8.h
plugindata.o: ../notify/notifythread.h ../core/basethread.h
plugindata.o: ../notify/templatesnotify.h ../core/config.h ../core/users.h
plugindata.o: ugcontainer.h lastcontainer.h mounts.h mountparser.h crypt.h
plugindata.o: run.h users.h groups.h group.h loadavg.h image.h
plugindata.o: threadmanager.h sessionmanager.h sessioncontainer.h
plugindata.o: ../functions/functions.h ../functions/functionbase.h
plugindata.o: ../core/request.h ../core/system.h ../core/synchro.h
plugindata.o: ../functions/functionparser.h ../core/cur.h
plugindata.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
plugindata.o: ../functions/privchanger.h ../functions/chown.h
plugindata.o: ../functions/ckeditor.h ../functions/cp.h
@ -417,48 +423,49 @@ postmultiparser.o: ../../pikotools/space/space.h htmlfilter.h misc.h item.h
postmultiparser.o: ../../pikotools/space/space.h log.h textstream.h
postmultiparser.o: logmanipulators.h slog.h cur.h request.h
postmultiparser.o: ../templates/htmltextstream.h ../core/textstream.h
postmultiparser.o: session.h user.h plugindata.h rebus.h mount.h
postmultiparser.o: ../templates/locale.h ../../pikotools/utf8/utf8.h
postmultiparser.o: ../../pikotools/date/date.h session.h user.h plugindata.h
postmultiparser.o: rebus.h mount.h ../templates/locale.h
postmultiparser.o: ../../pikotools/utf8/utf8.h
rebus.o: log.h textstream.h logmanipulators.h slog.h cur.h request.h
rebus.o: requesttypes.h item.h ../../pikotools/space/space.h error.h config.h
rebus.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
rebus.o: htmlfilter.h ../templates/htmltextstream.h ../core/textstream.h
rebus.o: misc.h session.h user.h plugindata.h rebus.h mount.h
rebus.o: ../templates/locale.h
rebus.o: misc.h ../../pikotools/date/date.h session.h user.h plugindata.h
rebus.o: rebus.h mount.h ../templates/locale.h
request.o: request.h requesttypes.h item.h ../../pikotools/space/space.h
request.o: error.h config.h ../../pikotools/space/spaceparser.h
request.o: ../../pikotools/space/space.h htmlfilter.h textstream.h
request.o: ../templates/htmltextstream.h ../core/textstream.h misc.h log.h
request.o: logmanipulators.h slog.h cur.h session.h user.h plugindata.h
request.o: rebus.h mount.h ../templates/locale.h plugin.h pluginmsg.h
request.o: system.h job.h basethread.h synchro.h dirs.h dircontainer.h
request.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
request.o: ../core/error.h ../db/dbitemquery.h ../core/item.h
request.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
request.o: ../core/dircontainer.h ../core/ugcontainer.h ../notify/notify.h
request.o: ../notify/notifypool.h ../templates/patterns.h
request.o: ../templates/locale.h ../templates/localefilter.h
request.o: ../../ezc/src/ezc.h ../../ezc/src/generator.h
request.o: ../../ezc/src/pattern.h ../../ezc/src/functions.h
request.o: ../../ezc/src/funinfo.h ../../ezc/src/stringconv.h
request.o: ../../pikotools/utf8/utf8.h ../notify/notifythread.h
request.o: ../core/basethread.h ../notify/templatesnotify.h ../core/config.h
request.o: ../core/users.h ugcontainer.h lastcontainer.h mounts.h
request.o: mountparser.h crypt.h run.h users.h groups.h group.h loadavg.h
request.o: image.h threadmanager.h sessionmanager.h sessioncontainer.h
request.o: ../functions/functions.h ../functions/functionbase.h
request.o: ../core/request.h ../core/system.h ../core/synchro.h
request.o: ../functions/functionparser.h ../core/cur.h ../functions/adduser.h
request.o: ../functions/cat.h ../functions/chmod.h ../functions/privchanger.h
request.o: ../functions/chown.h ../functions/ckeditor.h ../functions/cp.h
request.o: ../functions/default.h ../functions/download.h
request.o: ../functions/emacs.h ../functions/env.h ../functions/last.h
request.o: ../functions/login.h ../functions/logout.h ../functions/ln.h
request.o: ../functions/ls.h ../functions/man.h ../functions/meta.h
request.o: ../functions/mkdir.h ../functions/mv.h ../functions/nicedit.h
request.o: ../functions/node.h ../functions/passwd.h ../functions/priv.h
request.o: ../functions/pw.h ../functions/reload.h ../functions/rm.h
request.o: ../functions/rmuser.h ../functions/sort.h
request.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
request.o: ../../pikotools/date/date.h log.h logmanipulators.h slog.h cur.h
request.o: session.h user.h plugindata.h rebus.h mount.h
request.o: ../templates/locale.h plugin.h pluginmsg.h system.h job.h
request.o: basethread.h synchro.h dirs.h dircontainer.h ../db/db.h
request.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h ../core/error.h
request.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
request.o: ../core/user.h ../core/group.h ../core/dircontainer.h
request.o: ../core/ugcontainer.h ../notify/notify.h ../notify/notifypool.h
request.o: ../templates/patterns.h ../templates/locale.h
request.o: ../templates/localefilter.h ../../ezc/src/ezc.h
request.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h
request.o: ../../ezc/src/functions.h ../../ezc/src/funinfo.h
request.o: ../../ezc/src/stringconv.h ../../pikotools/utf8/utf8.h
request.o: ../notify/notifythread.h ../core/basethread.h
request.o: ../notify/templatesnotify.h ../core/config.h ../core/users.h
request.o: ugcontainer.h lastcontainer.h mounts.h mountparser.h crypt.h run.h
request.o: users.h groups.h group.h loadavg.h image.h threadmanager.h
request.o: sessionmanager.h sessioncontainer.h ../functions/functions.h
request.o: ../functions/functionbase.h ../core/request.h ../core/system.h
request.o: ../core/synchro.h ../functions/functionparser.h ../core/cur.h
request.o: ../functions/adduser.h ../functions/cat.h ../functions/chmod.h
request.o: ../functions/privchanger.h ../functions/chown.h
request.o: ../functions/ckeditor.h ../functions/cp.h ../functions/default.h
request.o: ../functions/download.h ../functions/emacs.h ../functions/env.h
request.o: ../functions/last.h ../functions/login.h ../functions/logout.h
request.o: ../functions/ln.h ../functions/ls.h ../functions/man.h
request.o: ../functions/meta.h ../functions/mkdir.h ../functions/mv.h
request.o: ../functions/nicedit.h ../functions/node.h ../functions/passwd.h
request.o: ../functions/priv.h ../functions/pw.h ../functions/reload.h
request.o: ../functions/rm.h ../functions/rmuser.h ../functions/sort.h
request.o: ../functions/specialdefault.h ../functions/stat.h
request.o: ../functions/subject.h ../functions/template.h
request.o: ../functions/tinymce.h ../functions/uname.h ../functions/upload.h
@ -471,7 +478,8 @@ run.o: run.h log.h textstream.h logmanipulators.h slog.h cur.h request.h
run.o: requesttypes.h item.h ../../pikotools/space/space.h error.h config.h
run.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
run.o: htmlfilter.h ../templates/htmltextstream.h ../core/textstream.h misc.h
run.o: session.h user.h plugindata.h rebus.h mount.h ../templates/locale.h
run.o: ../../pikotools/date/date.h session.h user.h plugindata.h rebus.h
run.o: mount.h ../templates/locale.h
session.o: session.h item.h ../../pikotools/space/space.h error.h user.h
session.o: plugindata.h rebus.h textstream.h misc.h requesttypes.h
sessioncontainer.o: sessioncontainer.h session.h item.h
@ -480,19 +488,20 @@ sessioncontainer.o: rebus.h textstream.h cur.h request.h requesttypes.h
sessioncontainer.o: config.h ../../pikotools/space/spaceparser.h
sessioncontainer.o: ../../pikotools/space/space.h htmlfilter.h
sessioncontainer.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
sessioncontainer.o: mount.h log.h logmanipulators.h slog.h
sessioncontainer.o: ../templates/locale.h
sessioncontainer.o: ../../pikotools/date/date.h mount.h log.h
sessioncontainer.o: logmanipulators.h slog.h ../templates/locale.h
sessionmanager.o: sessionmanager.h sessioncontainer.h session.h item.h
sessionmanager.o: ../../pikotools/space/space.h error.h user.h plugindata.h
sessionmanager.o: rebus.h textstream.h cur.h request.h requesttypes.h
sessionmanager.o: config.h ../../pikotools/space/spaceparser.h
sessionmanager.o: ../../pikotools/space/space.h htmlfilter.h
sessionmanager.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
sessionmanager.o: mount.h lastcontainer.h system.h job.h basethread.h
sessionmanager.o: synchro.h dirs.h dircontainer.h ../db/db.h ../db/dbbase.h
sessionmanager.o: ../db/dbconn.h ../db/dbtextstream.h ../core/error.h
sessionmanager.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
sessionmanager.o: ../core/user.h ../core/group.h ../core/dircontainer.h
sessionmanager.o: ../../pikotools/date/date.h mount.h lastcontainer.h
sessionmanager.o: system.h job.h basethread.h synchro.h dirs.h dircontainer.h
sessionmanager.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h
sessionmanager.o: ../db/dbtextstream.h ../core/error.h ../db/dbitemquery.h
sessionmanager.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h
sessionmanager.o: ../core/group.h ../core/dircontainer.h
sessionmanager.o: ../core/ugcontainer.h log.h logmanipulators.h slog.h
sessionmanager.o: ../templates/locale.h ../notify/notify.h
sessionmanager.o: ../notify/notifypool.h ../templates/patterns.h
@ -536,26 +545,28 @@ sessionparser.o: rebus.h textstream.h sessioncontainer.h cur.h request.h
sessionparser.o: requesttypes.h config.h ../../pikotools/space/spaceparser.h
sessionparser.o: ../../pikotools/space/space.h htmlfilter.h
sessionparser.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
sessionparser.o: mount.h users.h log.h logmanipulators.h slog.h
sessionparser.o: ../templates/locale.h
sessionparser.o: ../../pikotools/date/date.h mount.h users.h log.h
sessionparser.o: logmanipulators.h slog.h ../templates/locale.h
slog.o: slog.h cur.h request.h requesttypes.h item.h
slog.o: ../../pikotools/space/space.h error.h config.h
slog.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
slog.o: htmlfilter.h textstream.h ../templates/htmltextstream.h
slog.o: ../core/textstream.h misc.h session.h user.h plugindata.h rebus.h
slog.o: mount.h logmanipulators.h ../templates/locale.h
slog.o: ../core/textstream.h misc.h ../../pikotools/date/date.h session.h
slog.o: user.h plugindata.h rebus.h mount.h logmanipulators.h
slog.o: ../templates/locale.h
synchro.o: synchro.h
system.o: system.h job.h basethread.h synchro.h ../../pikotools/space/space.h
system.o: dirs.h item.h dircontainer.h ../db/db.h ../db/dbbase.h
system.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h misc.h
system.o: requesttypes.h ../core/error.h ../../pikotools/space/spaceparser.h
system.o: ../../pikotools/space/space.h ../db/dbitemquery.h ../core/item.h
system.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
system.o: ../core/dircontainer.h ../core/ugcontainer.h log.h textstream.h
system.o: logmanipulators.h slog.h cur.h request.h error.h config.h
system.o: htmlfilter.h ../templates/htmltextstream.h session.h user.h
system.o: plugindata.h rebus.h mount.h ../templates/locale.h
system.o: ../notify/notify.h ../notify/notifypool.h ../templates/patterns.h
system.o: requesttypes.h ../../pikotools/date/date.h ../core/error.h
system.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
system.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
system.o: ../core/user.h ../core/group.h ../core/dircontainer.h
system.o: ../core/ugcontainer.h log.h textstream.h logmanipulators.h slog.h
system.o: cur.h request.h error.h config.h htmlfilter.h
system.o: ../templates/htmltextstream.h session.h user.h plugindata.h rebus.h
system.o: mount.h ../templates/locale.h ../notify/notify.h
system.o: ../notify/notifypool.h ../templates/patterns.h
system.o: ../templates/locale.h ../templates/localefilter.h
system.o: ../../ezc/src/ezc.h ../../ezc/src/generator.h
system.o: ../../ezc/src/pattern.h ../../ezc/src/functions.h
@ -594,20 +605,21 @@ threadmanager.o: item.h ../../pikotools/space/space.h error.h config.h
threadmanager.o: ../../pikotools/space/spaceparser.h
threadmanager.o: ../../pikotools/space/space.h htmlfilter.h
threadmanager.o: ../templates/htmltextstream.h ../core/textstream.h misc.h
threadmanager.o: session.h user.h plugindata.h rebus.h mount.h
threadmanager.o: ../templates/locale.h
threadmanager.o: ../../pikotools/date/date.h session.h user.h plugindata.h
threadmanager.o: rebus.h mount.h ../templates/locale.h
users.o: users.h sessionmanager.h sessioncontainer.h session.h item.h
users.o: ../../pikotools/space/space.h error.h user.h plugindata.h rebus.h
users.o: textstream.h cur.h request.h requesttypes.h config.h
users.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
users.o: htmlfilter.h ../templates/htmltextstream.h ../core/textstream.h
users.o: misc.h mount.h lastcontainer.h system.h job.h basethread.h synchro.h
users.o: dirs.h dircontainer.h ../db/db.h ../db/dbbase.h ../db/dbconn.h
users.o: ../db/dbtextstream.h ../core/error.h ../db/dbitemquery.h
users.o: ../core/item.h ../db/dbitemcolumns.h ../core/user.h ../core/group.h
users.o: ../core/dircontainer.h ../core/ugcontainer.h log.h logmanipulators.h
users.o: slog.h ../templates/locale.h ../notify/notify.h
users.o: ../notify/notifypool.h ../templates/patterns.h ../templates/locale.h
users.o: misc.h ../../pikotools/date/date.h mount.h lastcontainer.h system.h
users.o: job.h basethread.h synchro.h dirs.h dircontainer.h ../db/db.h
users.o: ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h ../core/error.h
users.o: ../db/dbitemquery.h ../core/item.h ../db/dbitemcolumns.h
users.o: ../core/user.h ../core/group.h ../core/dircontainer.h
users.o: ../core/ugcontainer.h log.h logmanipulators.h slog.h
users.o: ../templates/locale.h ../notify/notify.h ../notify/notifypool.h
users.o: ../templates/patterns.h ../templates/locale.h
users.o: ../templates/localefilter.h ../../ezc/src/ezc.h
users.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h
users.o: ../../ezc/src/functions.h ../../ezc/src/funinfo.h

@ -540,9 +540,9 @@ void App::SetSubdomain()
void App::LogAccess()
{
log.PutDate(log1);
log << cur.request->env_remote_addr << ' '
log << log1
<< cur.request->start_date << ' '
<< cur.request->env_remote_addr << ' '
<< cur.request->env_request_method << ' '
<< cur.request->env_http_host
<< cur.request->env_request_uri << ' '

@ -54,24 +54,6 @@ void Log::OpenFile()
}
void Log::PutDate(LogManipulators m)
{
// logs are related to localtime
time_t t = std::time(0);
std::tm * loct = std::localtime(&t);
char buffer[70];
sprintf(buffer, "%d.%02d.%02d %02d:%02d:%02d ", int(loct->tm_year + 1900),
int(loct->tm_mon + 1),
int(loct->tm_mday),
int(loct->tm_hour),
int(loct->tm_min),
int(loct->tm_sec));
(*this) << m << buffer;
}
Log & Log::operator<<(const void * s)
{
@ -253,7 +235,17 @@ Log & Log::operator<<(const tm & tm_)
}
return *this;
}
Log & Log::operator<<(const PT::Date & date)
{
if( current_level <= log_level )
{
buffer << date;
}
return *this;
}

@ -29,7 +29,6 @@ public:
void Init(int log_level_, bool save_each_line_, const std::string & log_file_, bool log_std, int log_max_requests);
void PutDate(LogManipulators m);
Log & operator<<(const void * s);
Log & operator<<(const char * s);
Log & operator<<(const std::string * s);
@ -46,6 +45,7 @@ public:
Log & operator<<(const PT::Space & space);
Log & operator<<(LogManipulators m);
Log & operator<<(const tm & tm_);
Log & operator<<(const PT::Date & date);
template<class StringType>

@ -2,7 +2,7 @@
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2008-2011, Tomasz Sowa
* Copyright (c) 2008-2012, Tomasz Sowa
* All rights reserved.
*
*/
@ -86,6 +86,7 @@ void Request::Clear()
start_time = 0;
memset(&start_tm, 0, sizeof(start_tm));
start_date.Clear();
subdomain.clear();
}
@ -99,6 +100,7 @@ void Request::RequestStarts()
start_time = std::time(0);
start_tm = Time(start_time);
start_date = start_time;
}

@ -2,7 +2,7 @@
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2008-2011, Tomasz Sowa
* Copyright (c) 2008-2012, Tomasz Sowa
* All rights reserved.
*
*/
@ -19,6 +19,7 @@
#include "config.h"
#include "textstream.h"
#include "templates/htmltextstream.h"
#include "date/date.h"
class FunctionBase;
@ -127,12 +128,16 @@ struct Request
// this is a pointer either to the item (if exists) or to the last directory
Item * last_item;
// depracated
// request start time
// Time() methods are very slow so it is better to directly use those two values
// they are set when a request starts
time_t start_time;
tm start_tm;
// now we start using PT::Date class
PT::Date start_date;
// a subdomain
// subdomain = HTTP_HOST environment variable - config->base_url
std::wstring subdomain;

@ -14,6 +14,8 @@
#include <ctime>
#include "misc.h"
#include "space/space.h"
#include "date/date.h"
/*
@ -59,6 +61,7 @@ public:
TextStream & operator<<(const void *);// printing a pointer
TextStream & operator<<(const PT::Space & space);
TextStream & operator<<(const tm & tm_);
TextStream & operator<<(const PT::Date & date);
TextStream & Write(const char * buf, size_t len);
TextStream & Write(const wchar_t * buf, size_t len);
@ -336,6 +339,15 @@ return *this;
template<class StringType>
TextStream<StringType> & TextStream<StringType>::operator<<(const PT::Date & date)
{
date.Serialize(*this);
return *this;
}
#endif

@ -2,7 +2,7 @@
db.o: db.h dbbase.h dbconn.h dbtextstream.h ../core/textstream.h
db.o: ../core/misc.h ../core/item.h ../../pikotools/space/space.h
db.o: ../core/requesttypes.h ../core/error.h
db.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
db.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
db.o: dbitemquery.h ../core/item.h dbitemcolumns.h ../core/user.h
db.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -13,19 +13,20 @@ db.o: ../core/session.h ../core/user.h ../core/plugindata.h ../core/rebus.h
db.o: ../core/mount.h ../templates/locale.h ../core/log.h ../core/misc.h
dbbase.o: dbbase.h dbconn.h dbtextstream.h ../core/textstream.h
dbbase.o: ../core/misc.h ../core/item.h ../../pikotools/space/space.h
dbbase.o: ../core/requesttypes.h ../core/error.h
dbbase.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
dbbase.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
dbbase.o: ../core/log.h ../core/misc.h ../../pikotools/utf8/utf8.h
dbconn.o: dbconn.h dbtextstream.h ../core/textstream.h ../core/misc.h
dbconn.o: ../core/item.h ../../pikotools/space/space.h ../core/requesttypes.h
dbconn.o: ../core/log.h ../core/error.h
dbconn.o: ../../pikotools/date/date.h ../core/log.h ../core/error.h
dbitemcolumns.o: dbitemcolumns.h ../core/item.h dbbase.h dbconn.h
dbitemcolumns.o: dbtextstream.h ../core/textstream.h ../core/misc.h
dbitemcolumns.o: ../core/item.h ../../pikotools/space/space.h
dbitemcolumns.o: ../core/requesttypes.h ../core/error.h
dbitemcolumns.o: ../../pikotools/space/spaceparser.h
dbitemcolumns.o: ../core/requesttypes.h ../../pikotools/date/date.h
dbitemcolumns.o: ../core/error.h ../../pikotools/space/spaceparser.h
dbitemcolumns.o: ../../pikotools/space/space.h ../core/log.h
dbitemquery.o: dbitemquery.h ../core/item.h
dbtextstream.o: dbtextstream.h ../core/textstream.h ../core/misc.h
dbtextstream.o: ../core/item.h ../../pikotools/space/space.h
dbtextstream.o: ../core/requesttypes.h ../../pikotools/utf8/utf8.h
dbtextstream.o: ../core/requesttypes.h ../../pikotools/date/date.h
dbtextstream.o: ../../pikotools/utf8/utf8.h

@ -76,13 +76,13 @@ DbTextStream & DbTextStream::PutText(const std::wstring & str)
DbTextStream & DbTextStream::operator<<(const RawText<const char*> & raw)
DbTextStream & DbTextStream::operator<<(RawText<const char*> raw)
{
return PutText(raw.par);
}
DbTextStream & DbTextStream::operator<<(const RawText<const wchar_t*> & raw)
DbTextStream & DbTextStream::operator<<(RawText<const wchar_t*> raw)
{
return PutText(raw.par);
}
@ -194,7 +194,7 @@ return *this;
}
DbTextStream & DbTextStream::operator<<(const RawText<tm> & t)
DbTextStream & DbTextStream::operator<<(RawText<tm> t)
{
buffer += ConvertTime(t.par);
was_param = false;
@ -203,6 +203,14 @@ return *this;
}
DbTextStream & DbTextStream::operator<<(RawText<PT::Date> date)
{
date.par.Serialize(*this);
was_param = false;
return *this;
}
@ -591,5 +599,17 @@ return *this;
}
DbTextStream & DbTextStream::operator<<(const PT::Date & date)
{
if( was_param )
buffer += ", ";
buffer += '\'';
date.Serialize(*this);
buffer += '\'';
was_param = true;
return *this;
}

@ -93,13 +93,13 @@ public:
"some string" is actually a table (not a pointer)
*/
template<size_t str_size>
DbTextStream & operator<<(const RawText<char [str_size]> & raw) { return PutText(raw.par); }
DbTextStream & operator<<(RawText<char [str_size]> raw) { return PutText(raw.par); }
template<size_t str_size>
DbTextStream & operator<<(const RawText<wchar_t [str_size]> & raw) { return PutText(raw.par); }
DbTextStream & operator<<(RawText<wchar_t [str_size]> raw) { return PutText(raw.par); }
DbTextStream & operator<<(const RawText<const char*> & raw);
DbTextStream & operator<<(const RawText<const wchar_t*> & raw);
DbTextStream & operator<<(RawText<const char*> raw);
DbTextStream & operator<<(RawText<const wchar_t*> raw);
DbTextStream & operator<<(RawText<const std::string*> raw);
DbTextStream & operator<<(RawText<const std::wstring*> raw);
DbTextStream & operator<<(RawText<std::string> raw);
@ -113,7 +113,8 @@ public:
DbTextStream & operator<<(RawText<unsigned long> raw);
DbTextStream & operator<<(RawText<double> raw);
DbTextStream & operator<<(RawText<void*> raw);
DbTextStream & operator<<(const RawText<tm> & t);
DbTextStream & operator<<(RawText<tm> t);
DbTextStream & operator<<(RawText<PT::Date> date);
/*
@ -153,6 +154,7 @@ public:
DbTextStream & operator<<(const tm & t);
DbTextStream & operator<<(const std::vector<long> & tabid);
DbTextStream & operator<<(const PT::Space & space);
DbTextStream & operator<<(const PT::Date & date);
static const char * ConvertTime(const tm & t);

@ -4,16 +4,16 @@ adduser.o: adduser.h functionbase.h ../core/item.h
adduser.o: ../../pikotools/space/space.h ../db/db.h ../db/dbbase.h
adduser.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
adduser.o: ../core/misc.h ../core/item.h ../core/requesttypes.h
adduser.o: ../core/error.h ../../pikotools/space/spaceparser.h
adduser.o: ../../pikotools/space/space.h ../db/dbitemquery.h
adduser.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
adduser.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/log.h
adduser.o: ../core/textstream.h ../core/logmanipulators.h ../core/slog.h
adduser.o: ../core/cur.h ../core/request.h ../core/error.h ../core/config.h
adduser.o: ../core/htmlfilter.h ../templates/htmltextstream.h
adduser.o: ../core/session.h ../core/user.h ../core/plugindata.h
adduser.o: ../core/rebus.h mount.h ../templates/locale.h ../core/request.h
adduser.o: ../core/config.h ../core/system.h ../core/job.h
adduser.o: ../../pikotools/date/date.h ../core/error.h
adduser.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
adduser.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
adduser.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
adduser.o: ../core/log.h ../core/textstream.h ../core/logmanipulators.h
adduser.o: ../core/slog.h ../core/cur.h ../core/request.h ../core/error.h
adduser.o: ../core/config.h ../core/htmlfilter.h
adduser.o: ../templates/htmltextstream.h ../core/session.h ../core/user.h
adduser.o: ../core/plugindata.h ../core/rebus.h mount.h ../templates/locale.h
adduser.o: ../core/request.h ../core/config.h ../core/system.h ../core/job.h
adduser.o: ../core/basethread.h ../core/synchro.h ../core/dirs.h
adduser.o: ../core/dircontainer.h ../notify/notify.h ../notify/notifypool.h
adduser.o: ../templates/patterns.h ../templates/locale.h
@ -41,7 +41,7 @@ adduser.o: ../core/sessionmanager.h ../core/misc.h
cat.o: cat.h functionbase.h ../core/item.h ../../pikotools/space/space.h
cat.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
cat.o: ../core/textstream.h ../core/misc.h ../core/item.h
cat.o: ../core/requesttypes.h ../core/error.h
cat.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
cat.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
cat.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
cat.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -70,7 +70,7 @@ cat.o: ../core/threadmanager.h ../core/synchro.h
chmod.o: chmod.h functionbase.h ../core/item.h ../../pikotools/space/space.h
chmod.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
chmod.o: ../core/textstream.h ../core/misc.h ../core/item.h
chmod.o: ../core/requesttypes.h ../core/error.h
chmod.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
chmod.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
chmod.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
chmod.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -100,7 +100,7 @@ chmod.o: ../core/threadmanager.h ../core/synchro.h
chown.o: chown.h functionbase.h ../core/item.h ../../pikotools/space/space.h
chown.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
chown.o: ../core/textstream.h ../core/misc.h ../core/item.h
chown.o: ../core/requesttypes.h ../core/error.h
chown.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
chown.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
chown.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
chown.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -131,28 +131,28 @@ ckeditor.o: ckeditor.h functionbase.h ../core/item.h
ckeditor.o: ../../pikotools/space/space.h ../db/db.h ../db/dbbase.h
ckeditor.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
ckeditor.o: ../core/misc.h ../core/item.h ../core/requesttypes.h
ckeditor.o: ../core/error.h ../../pikotools/space/spaceparser.h
ckeditor.o: ../../pikotools/space/space.h ../db/dbitemquery.h
ckeditor.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
ckeditor.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/log.h
ckeditor.o: ../core/textstream.h ../core/logmanipulators.h ../core/slog.h
ckeditor.o: ../core/cur.h ../core/request.h ../core/error.h ../core/config.h
ckeditor.o: ../core/htmlfilter.h ../templates/htmltextstream.h
ckeditor.o: ../core/session.h ../core/user.h ../core/plugindata.h
ckeditor.o: ../core/rebus.h mount.h ../templates/locale.h ../core/request.h
ckeditor.o: ../core/config.h ../core/system.h ../core/job.h
ckeditor.o: ../core/basethread.h ../core/synchro.h ../core/dirs.h
ckeditor.o: ../core/dircontainer.h ../notify/notify.h ../notify/notifypool.h
ckeditor.o: ../templates/patterns.h ../templates/locale.h
ckeditor.o: ../templates/localefilter.h ../../ezc/src/ezc.h
ckeditor.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h functions.h
ckeditor.o: functionparser.h ../core/cur.h adduser.h cat.h chmod.h
ckeditor.o: privchanger.h chown.h cp.h default.h download.h emacs.h env.h
ckeditor.o: last.h login.h logout.h ln.h ls.h man.h meta.h mkdir.h mv.h
ckeditor.o: nicedit.h node.h passwd.h priv.h pw.h reload.h rm.h rmuser.h
ckeditor.o: run.h sort.h specialdefault.h stat.h subject.h template.h
ckeditor.o: tinymce.h uname.h upload.h uptime.h who.h vim.h
ckeditor.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
ckeditor.o: ../../pikotools/date/date.h ../core/error.h
ckeditor.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
ckeditor.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
ckeditor.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
ckeditor.o: ../core/log.h ../core/textstream.h ../core/logmanipulators.h
ckeditor.o: ../core/slog.h ../core/cur.h ../core/request.h ../core/error.h
ckeditor.o: ../core/config.h ../core/htmlfilter.h
ckeditor.o: ../templates/htmltextstream.h ../core/session.h ../core/user.h
ckeditor.o: ../core/plugindata.h ../core/rebus.h mount.h
ckeditor.o: ../templates/locale.h ../core/request.h ../core/config.h
ckeditor.o: ../core/system.h ../core/job.h ../core/basethread.h
ckeditor.o: ../core/synchro.h ../core/dirs.h ../core/dircontainer.h
ckeditor.o: ../notify/notify.h ../notify/notifypool.h ../templates/patterns.h
ckeditor.o: ../templates/locale.h ../templates/localefilter.h
ckeditor.o: ../../ezc/src/ezc.h ../../ezc/src/generator.h
ckeditor.o: ../../ezc/src/pattern.h functions.h functionparser.h
ckeditor.o: ../core/cur.h adduser.h cat.h chmod.h privchanger.h chown.h cp.h
ckeditor.o: default.h download.h emacs.h env.h last.h login.h logout.h ln.h
ckeditor.o: ls.h man.h meta.h mkdir.h mv.h nicedit.h node.h passwd.h priv.h
ckeditor.o: pw.h reload.h rm.h rmuser.h run.h sort.h specialdefault.h stat.h
ckeditor.o: subject.h template.h tinymce.h uname.h upload.h uptime.h who.h
ckeditor.o: vim.h ../core/htmlfilter.h ../../ezc/src/stringconv.h
ckeditor.o: ../../pikotools/utf8/utf8.h ../notify/notifythread.h
ckeditor.o: ../core/basethread.h ../notify/templatesnotify.h ../core/users.h
ckeditor.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/mounts.h
@ -162,7 +162,7 @@ ckeditor.o: ../core/image.h ../core/threadmanager.h ../core/synchro.h
cp.o: cp.h functionbase.h ../core/item.h ../../pikotools/space/space.h
cp.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
cp.o: ../core/textstream.h ../core/misc.h ../core/item.h
cp.o: ../core/requesttypes.h ../core/error.h
cp.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
cp.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
cp.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
cp.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -198,16 +198,16 @@ default.o: default.h functionbase.h ../core/item.h
default.o: ../../pikotools/space/space.h ../db/db.h ../db/dbbase.h
default.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
default.o: ../core/misc.h ../core/item.h ../core/requesttypes.h
default.o: ../core/error.h ../../pikotools/space/spaceparser.h
default.o: ../../pikotools/space/space.h ../db/dbitemquery.h
default.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
default.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/log.h
default.o: ../core/textstream.h ../core/logmanipulators.h ../core/slog.h
default.o: ../core/cur.h ../core/request.h ../core/error.h ../core/config.h
default.o: ../core/htmlfilter.h ../templates/htmltextstream.h
default.o: ../core/session.h ../core/user.h ../core/plugindata.h
default.o: ../core/rebus.h mount.h ../templates/locale.h ../core/request.h
default.o: ../core/config.h ../core/system.h ../core/job.h
default.o: ../../pikotools/date/date.h ../core/error.h
default.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
default.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
default.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
default.o: ../core/log.h ../core/textstream.h ../core/logmanipulators.h
default.o: ../core/slog.h ../core/cur.h ../core/request.h ../core/error.h
default.o: ../core/config.h ../core/htmlfilter.h
default.o: ../templates/htmltextstream.h ../core/session.h ../core/user.h
default.o: ../core/plugindata.h ../core/rebus.h mount.h ../templates/locale.h
default.o: ../core/request.h ../core/config.h ../core/system.h ../core/job.h
default.o: ../core/basethread.h ../core/synchro.h ../core/dirs.h
default.o: ../core/dircontainer.h ../notify/notify.h ../notify/notifypool.h
default.o: ../templates/patterns.h ../templates/locale.h
@ -230,28 +230,28 @@ download.o: download.h functionbase.h ../core/item.h
download.o: ../../pikotools/space/space.h ../db/db.h ../db/dbbase.h
download.o: ../db/dbconn.h ../db/dbtextstream.h ../core/textstream.h
download.o: ../core/misc.h ../core/item.h ../core/requesttypes.h
download.o: ../core/error.h ../../pikotools/space/spaceparser.h
download.o: ../../pikotools/space/space.h ../db/dbitemquery.h
download.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
download.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/log.h
download.o: ../core/textstream.h ../core/logmanipulators.h ../core/slog.h
download.o: ../core/cur.h ../core/request.h ../core/error.h ../core/config.h
download.o: ../core/htmlfilter.h ../templates/htmltextstream.h
download.o: ../core/session.h ../core/user.h ../core/plugindata.h
download.o: ../core/rebus.h mount.h ../templates/locale.h ../core/request.h
download.o: ../core/config.h ../core/system.h ../core/job.h
download.o: ../core/basethread.h ../core/synchro.h ../core/dirs.h
download.o: ../core/dircontainer.h ../notify/notify.h ../notify/notifypool.h
download.o: ../templates/patterns.h ../templates/locale.h
download.o: ../templates/localefilter.h ../../ezc/src/ezc.h
download.o: ../../ezc/src/generator.h ../../ezc/src/pattern.h functions.h
download.o: functionparser.h ../core/cur.h adduser.h cat.h chmod.h
download.o: privchanger.h chown.h ckeditor.h cp.h default.h emacs.h env.h
download.o: last.h login.h logout.h ln.h ls.h man.h meta.h mkdir.h mv.h
download.o: nicedit.h node.h passwd.h priv.h pw.h reload.h rm.h rmuser.h
download.o: run.h sort.h specialdefault.h stat.h subject.h template.h
download.o: tinymce.h uname.h upload.h uptime.h who.h vim.h
download.o: ../core/htmlfilter.h ../../ezc/src/stringconv.h
download.o: ../../pikotools/date/date.h ../core/error.h
download.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
download.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
download.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
download.o: ../core/log.h ../core/textstream.h ../core/logmanipulators.h
download.o: ../core/slog.h ../core/cur.h ../core/request.h ../core/error.h
download.o: ../core/config.h ../core/htmlfilter.h
download.o: ../templates/htmltextstream.h ../core/session.h ../core/user.h
download.o: ../core/plugindata.h ../core/rebus.h mount.h
download.o: ../templates/locale.h ../core/request.h ../core/config.h
download.o: ../core/system.h ../core/job.h ../core/basethread.h
download.o: ../core/synchro.h ../core/dirs.h ../core/dircontainer.h
download.o: ../notify/notify.h ../notify/notifypool.h ../templates/patterns.h
download.o: ../templates/locale.h ../templates/localefilter.h
download.o: ../../ezc/src/ezc.h ../../ezc/src/generator.h
download.o: ../../ezc/src/pattern.h functions.h functionparser.h
download.o: ../core/cur.h adduser.h cat.h chmod.h privchanger.h chown.h
download.o: ckeditor.h cp.h default.h emacs.h env.h last.h login.h logout.h
download.o: ln.h ls.h man.h meta.h mkdir.h mv.h nicedit.h node.h passwd.h
download.o: priv.h pw.h reload.h rm.h rmuser.h run.h sort.h specialdefault.h
download.o: stat.h subject.h template.h tinymce.h uname.h upload.h uptime.h
download.o: who.h vim.h ../core/htmlfilter.h ../../ezc/src/stringconv.h
download.o: ../../pikotools/utf8/utf8.h ../notify/notifythread.h
download.o: ../core/basethread.h ../notify/templatesnotify.h ../core/users.h
download.o: ../core/ugcontainer.h ../core/lastcontainer.h ../core/mounts.h
@ -261,7 +261,7 @@ download.o: ../core/image.h ../core/threadmanager.h ../core/synchro.h
emacs.o: emacs.h functionbase.h ../core/item.h ../../pikotools/space/space.h
emacs.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
emacs.o: ../core/textstream.h ../core/misc.h ../core/item.h
emacs.o: ../core/requesttypes.h ../core/error.h
emacs.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
emacs.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
emacs.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
emacs.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -294,7 +294,7 @@ emacs.o: ../templates/htmltextstream.h ../core/sessionmanager.h
env.o: env.h functionbase.h ../core/item.h ../../pikotools/space/space.h
env.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
env.o: ../core/textstream.h ../core/misc.h ../core/item.h
env.o: ../core/requesttypes.h ../core/error.h
env.o: ../core/requesttypes.h ../../pikotools/date/date.h ../core/error.h
env.o: ../../pikotools/space/spaceparser.h ../../pikotools/space/space.h
env.o: ../db/dbitemquery.h ../db/dbitemcolumns.h ../core/user.h
env.o: ../core/group.h ../core/dircontainer.h ../core/ugcontainer.h
@ -323,8 +323,8 @@ env.o: ../core/threadmanager.h ../core/synchro.h ../core/log.h
functionbase.o: functionbase.h ../core/item.h ../../pikotools/space/space.h
functionbase.o: ../db/db.h ../db/dbbase.h ../db/dbconn.h ../db/dbtextstream.h
functionbase.o: ../core/textstream.h ../core/misc.h ../core/item.h
functionbase.o: ../core/requesttypes.h ../core/error.h
functionbase.o: ../../pikotools/space/spaceparser.h
functionbase.o: ../core/requesttypes.h ../../pikotools/date/date.h
functionbase.o: ../core/error.h ../../pikotools/space/spaceparser.h
functionbase.o: ../../pikotools/space/space.h ../db/dbitemquery.h
functionbase.o: ../db/dbitemcolumns.h ../core/user.h ../core/group.h
functionbase.o: ../core/dircontainer.h ../core/ugcontainer.h ../core/log.h
@ -357,8 +357,8 @@ functionbase.o: ../core/synchro.h