barename wasn't used, let's rename it filename and use it
This commit is contained in:
parent
4b65275e41
commit
a9135080c3
|
@ -47,7 +47,7 @@ class ImageFile
|
|||
{
|
||||
var $id;
|
||||
var $filepath;
|
||||
var $barename;
|
||||
var $filename;
|
||||
var $type;
|
||||
var $height;
|
||||
var $width;
|
||||
|
@ -58,6 +58,7 @@ class ImageFile
|
|||
{
|
||||
$this->id = $id;
|
||||
$this->filepath = $filepath;
|
||||
$this->filename = basename($filepath);
|
||||
|
||||
$info = @getimagesize($this->filepath);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user