Plesk Application Vault Manual

Section 4.1.3 Forms Directory

This directory contains files with HTML or PHP codes used when it is necessary to acquire a user about parameters of the application when installing, reconfiguring or updating it on the domain.

The process of data input by the user may be a multi-step one, that is why when installing an application on the domain, for the files with the input elements forming code, names are formed in the following way:

installer-form-<step number>.php

Also, this directory contains files with the code of processing the data received at every step (check that input data is correct, full and etc.). For the files with a data processing code, during the installation of the application on the domain, names are formed in the following way:

installer-handler-<step number>.php

For the files with the data processing code, in the process of reconfiguration of the application on the domain, names are formed in the following way:

reconfigure-handler-<step number>.php

For the files with the input elements forming code, in the process of reconfiguration of the application on the domain, names are formed in the following way:

reconfigure-form-<step number>.php

For the files with the data processing code, when updating the application in the domain, names are formed in the following way:

upgrade-handler-<step number>.php

For the files with the input elements forming code, when updating the application in the domain, names are formed in the following way: 

upgrade-form-<step number>.php

If at the first step of installation both files are missing (the file with the form forming code and the file with the data processing code), it means that the user is acquired only the name of the subdirectory in the virtual host, where the application should be unpacked, and in which part of the virtual host the application should be installed (SSL or non-SSL).

If the files of the first step of reconfiguration are missing, it means that reconfiguration is impossible.

If the files of the first step of updating are missing, it means that the application doesn't support its own updating mechanism and it should be updated in the standard way - by removing files of the old version and unpacking files of the new one.

to top