ajout de l'item source_size

This commit is contained in:
nojhan 2008-06-15 20:20:43 +00:00
commit 68b9f7a9f4

View file

@ -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 );