Version: current

# Function getTempFolder

Returns the temporary folder that sapphire/silverstripe should use for its cache files This is loaded into the TEMP_FOLDER define on start up

Package: sapphire\core
Located at sapphire/core/Core.php

## Parameters summary

`mixed` | `$base = null` | $base The base path to use as the basis for the temp folder name. Defaults to BASE_PATH, which is usually fine; however, the $base argument can be used to help test.

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -