ajout de l'item source_size
This commit is contained in:
parent
004a9c904d
commit
68b9f7a9f4
1 changed files with 6 additions and 1 deletions
|
|
@ -111,6 +111,10 @@ class strip_manager
|
||||||
*/
|
*/
|
||||||
var $source = '';
|
var $source = '';
|
||||||
/**
|
/**
|
||||||
|
* Size of the source file
|
||||||
|
*/
|
||||||
|
var $source_size = 0;
|
||||||
|
/**
|
||||||
* Description
|
* Description
|
||||||
*/
|
*/
|
||||||
var $description;
|
var $description;
|
||||||
|
|
@ -333,6 +337,7 @@ class strip_manager
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->source = $svg;
|
$this->source = $svg;
|
||||||
|
$this->source_size = filesize( $svg );
|
||||||
|
|
||||||
if( file_exists($svg) ) {
|
if( file_exists($svg) ) {
|
||||||
$data = file_get_contents( $svg );
|
$data = file_get_contents( $svg );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue