When you install this application, a number of files containing various constants are created based on the answers to the questions the install script asked.
Most constants are stored in the PHP file Config/Constants.inc. This provides constant values for directories, user names etc. both for the web application and for all of the Perl scripts.
There are some other files created, some of which have to be protected from casual viewing because they contain the MySQL password of the QuartzPVR database. The full pathname of the files, as installed on this system are:
%PVR_ROOT%/php/Config/Constants.inc
Contains most of the constants/settings used by the web application and the Perl scripts. You may adjust some of these settings to change the behaviour of the application.
The Linux user to use for Quartz PVR Perl scripts. Set to %PVR_USER%
The primary group of the Linux user used for Quartz PVR. Set to %PVR_GROUP%
The home directory of the Linux user used for Quartz PVR. Set to %PVR_HOME%
Main logging directory to use for logging Perl script output. Set to %PVR_LOGDIR%
The mail account that the Perl scripts will send any run errors to. Set to %MAIL_TO%
The MySQL database name. Set to %DATABASE%
The top-level directory under which the web application is installed. Set to %PVR_ROOT%
The frequency file to use with the dvbt-scan script when setting up the DVB-T initial tuning. Set to %DVBT_FREQFILE%
Top-level directory for recording videos. Video files will be stored in sub-directories under this directory. Set to %VIDEO_DIR%
Top-level directory for recording audio. Audio files will be stored in sub-directories under this directory. Set to %AUDIO_DIR%
The TCP port number to be used by the Quartz PVR server (which interfaces requests from the web application to the Perl scheduling script). Set to %SERVER_PORT%
The date timezone setting for the PHP application. Currently set to "Europa/London" until I can work out how to adjust it!
%PVR_ROOT%/php/Config/SqlConstants.inc
Contains the MySQL username and password for the Quartz PVR database.
This is only readable by root or the web server.
%perl_lib%/Linux/DVB/DVBT/Apps/QuartzPVR/Config/PHP/Install.pm
Contains the full path to the web application to allow the Perl scripts access.
%perl_lib%/Linux/DVB/DVBT/Apps/QuartzPVR/Config/SqlConstants.pm
Contains the MySQL username and password for the Quartz PVR database.
This is only readable by root or the Quartz PVR Linux user.