1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-18 04:22:10 +02:00

Various minor updates, mostly phpdoc related

This commit is contained in:
Ryan Cramer
2019-05-03 11:59:18 -04:00
parent 3a094f6447
commit 2880ff6d57
12 changed files with 70 additions and 12 deletions

View File

@@ -797,6 +797,17 @@ class WireUpload extends Wire {
public function getOverwrittenFiles() {
return $this->overwrittenFiles;
}
/**
* Is an ajax upload request currently in progress?
*
* @return bool
* @since 3.0.131
*
*/
public static function isAjaxUploading() {
return !empty($_SERVER['HTTP_X_FILENAME']);
}
}