# This is CGIlite.
# A collection of posix shell functions for writing CGI scripts.
-# Copyright 2017 - 2023 Paul Hänsch
+# Copyright 2017 - 2023, 2025 Paul Hänsch
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
unset cgilite_arg
_EXEC="${_EXEC:-${0%/*}}"
-_DATA="${_DATA:-.}"
+_DATA="${_DATA:-${PWD:-.}}"
_EXEC="${_EXEC%/}" _DATA="${_DATA%/}" _BASE="${_BASE%/}"
export _EXEC _DATA _BASE