platform/getProfileDir [ Functions ]

[ Top ] [ Functions ]

AUTHOR

Per Hansen

COPYRIGHT

(c) 2006 by Per Hansen

FUNCTION

Returns the platform dependent path to the savIRC profile. Unix: ~/.savirc/ Windows: %AppData%\savIRC\ Fallback: <programmdir>/profile

SYNOPSIS

If the environmental variable "SAVIRC_HOME" is set this path will be returned. If not it tries to find out where this os saves configs... If that fails it saves the profile in the programmdir.