lib/private/TempManager.php
/**
	 * Check if a temporary directory is ready for use
	 *
	 * @param mixed $directory
	 * @return bool
	 */
Check if a temporary directory is ready for use
@param mixed $directory
@return bool
Check if a temporary directory is ready for use @param mixed $directory @return bool
private function checkTemporaryDirectory($directory) {
		try {
			if (is_writeable($directory)) {
				return true;
			}
		} catch (\Exception $e) {
		}
		$this->log->warning('Temporary directory {dir} is not present or writable',
			['dir' => $directory]
		);
		return false;
	}
private function checkTemporaryDirectory ( $ directory ) { try { if ( is_writeable ( $ directory ) ) { return true ; } } catch ( \ Exception $ e ) { } $ this -> log -> warning ( 'Temporary directory {dir} is not present or writable' , [ 'dir' => $ directory ] ) ; return false ; }
Check if a temporary directory is ready for use
 @param mixed $directory
 @return bool
Check if a temporary directory is ready for use @param mixed $directory @return bool
// suppress any possible errors caused by is_writable // checks missing or invalid path or characters, wrong permissions etc