DOCS: Add reference for undocumented TEMP_FOLDER

This commit is contained in:
mattclegg 2020-04-28 17:51:25 +05:45
parent df8cb9e010
commit dbecdd52d2
No known key found for this signature in database
GPG Key ID: 68C4C8DB2D0D1DFE

View File

@ -15,7 +15,8 @@ use SilverStripe\Core\TempFolder;
* - BASE_URL: Full URL to the webroot, e.g. "http://my-host.com/my-webroot" (no trailing slash). * - BASE_URL: Full URL to the webroot, e.g. "http://my-host.com/my-webroot" (no trailing slash).
* - BASE_PATH: Absolute path to the webroot, e.g. "/var/www/my-webroot" (no trailing slash). * - BASE_PATH: Absolute path to the webroot, e.g. "/var/www/my-webroot" (no trailing slash).
* See Director::baseFolder(). Can be overwritten by Config::modify()->set(Director::class, 'alternate_base_folder', ). * See Director::baseFolder(). Can be overwritten by Config::modify()->set(Director::class, 'alternate_base_folder', ).
* - TEMP_PATH: Absolute path to temporary folder, used for manifest and template caches. Example: "/var/tmp" * - TEMP_PATH: Absolute path to temporary folder, used as base for $TEMP_FOLDER. Example: "/var/tmp"
* - TEMP_FOLDER: folder name for manifest and template caches. Example: "silverstripe-cache-php7.2"
* See getTempFolder(). No trailing slash. * See getTempFolder(). No trailing slash.
* - ASSETS_DIR: Dir for assets folder. e.g. "assets" * - ASSETS_DIR: Dir for assets folder. e.g. "assets"
* - ASSETS_PATH: Full path to assets folder. e.g. "/var/www/my-webroot/assets" * - ASSETS_PATH: Full path to assets folder. e.g. "/var/www/my-webroot/assets"