Manual:$wgTmpDirectory

Details
The path to the temporary directory.