LoginLogin About

Support » Knowledge Base » General questions » Tips for scripts owners »

What is a database key?

Database key in WebAsyst is a conventional name (alias) of the database where WebAsyst data are stored. Quite often the database name is equal to the actual database name. It is used in the WebAsyst PHP code to generate names for system files and paths to directories containing user data.

For instance, if your database key is WADB (it is only an example, it does not necessarily need to have this value), such file names and directory paths may look as follows:

data/WADB/attachments/SC/products_files/
published/publicdata/WADB/attachments/SC/themes/
temp/scdb/.settings.WADB/