Configuration File

The Nestor configuration file - vce-config.php – is found in the root directory of your installation. This file defines and assigns values to a variety of constants that will allow you to fine-tune the workings of your installation.

Installer Defined Settings
Manually Configured Settings

Installer Defined Settings

During installation, some key settings are written to the Nestor configuration file. Many system issues can be caused by the wrong settings, so be careful about changing any of these key settings.

Setting Name Description Origin
DB_HOST Hostname of your webserver, commonly “localhost” Written by installer from value provided by end user
DB_NAME The name of the database used to store application info Written by installer from value provided by end user
DB_PASSWORD database password Written by installer from value provided by end user
DB_USER database username Written by installer from value provided by end user
PATH_TO_UPLOADS Set the path for the directory where user uploaded files are stored Written by installer from value provided by end user
PERSISTANT_LOGIN Enable persistent login – allows users to access site without having to login each time. Set to true by default Written by installer
QUERY_STRING_INPUT Enable query string input. Set to true by default Written by installer
SITE_KEY Site key used by application for encryption – do not change this after install or your site will stop working.

The only time you would manually update the site key is if you re-run the installation process, but you want to continue to use the database from your current install. In that case you would copy in the Site Key that is needed to decrypt the current data.
Generated and written by the installer
TABLE_PREFIX This is the prefix attached to all table names in the database. Especially useful if you are sharing the database with other applications Written by installer from value provided by end user
VCE_DEBUG Display MySQL and PHP errors. Set to true by default Written by installer


Manually Configured Settings

There are other settings used by Nestor that can be manually configured in the configuration file. You can even add your own settings for custom component development.

These settings are all optional.

Setting Name Description
ASSET_URL Alternate path to theme files
CRON_TASK_LIMIT Sets the amount of cron tasks processed on page load
DIRECTORY_SEPARATOR Specifies character to use when building file path
INSTANCE_BASEPATH Alternate basepath, can be used for path to uploads
MEDIA_UPLOAD_PATH Specifies alternate path for where files uploaded by users are stored
OPENSSL_RAW_DATA Used in encryption algorithms
OPENSSL_VERSION_NUMBER specifies what version of SSL to use in encryption
PATH_INPUT Specifies alternate path for form action value
PATH_TO_BASE_JAVASCRIPT Specifies location to be used for javascript files
PATH_TO_BASE_STYLESHEET specifies location to be used for stylesheet files
PATH_TO_FILE Specifies path to change default location from which to view files
SITE_MAIL Indicates if site is configured to send mail