Version 4.7.6
This commit is contained in:
1 parent
8ba7d43898
commit
7b7404e741
1085 files changed
+30590
-7837
No files matched your search
@@ -60,7 +60,7 @@ class _Exception extends \RuntimeException
|
||||
/**
|
||||
* @brief File path
|
||||
*/
|
||||
public $file = NULL;
|
||||
public $filepath = NULL;
|
||||
|
||||
/**
|
||||
* @brief Original filename (used for friendlier errors)
|
||||
@@ -90,7 +90,7 @@ class _Exception extends \RuntimeException
|
||||
public function __construct( $file, $error, $originalFilename = NULL, $errorMessage = NULL, $extraLog = NULL )
|
||||
{
|
||||
/* Store the file */
|
||||
$this->file = $file;
|
||||
$this->filepath = $file;
|
||||
$this->originalFilename = $originalFilename;
|
||||
|
||||
/* Store additional debug info */
|
||||
|
||||
@@ -51,7 +51,7 @@ abstract class _File
|
||||
/**
|
||||
* @brief File extensions considered safe. Not an exhaustive list but these are the files we're most interested in being recognised.
|
||||
*/
|
||||
public static $safeFileExtensions = array( 'js', 'css', 'txt', 'ico', 'gif', 'jpg', 'jpe', 'jpeg', 'png', 'mp4', '3gp', 'mov', 'ogg', 'ogv', 'mp3', 'mpg', 'mpeg', 'ico', 'flv', 'webm', 'wmv', 'avi', 'm4v', 'webp', 'm4a' );
|
||||
public static $safeFileExtensions = array( 'js', 'css', 'txt', 'ico', 'gif', 'jpg', 'jpe', 'jpeg', 'png', 'mp4', '3gp', 'mov', 'ogg', 'ogv', 'mp3', 'mpg', 'mpeg', 'ico', 'flv', 'webm', 'wmv', 'avi', 'm4v', 'webp', 'm4a', 'wav' );
|
||||
|
||||
/**
|
||||
* @brief File extensions for HTML5 compatible videos
|
||||
|
||||
Reference in new issue
Block a user