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 $id;
|
||||||
var $filepath;
|
var $filepath;
|
||||||
var $barename;
|
var $filename;
|
||||||
var $type;
|
var $type;
|
||||||
var $height;
|
var $height;
|
||||||
var $width;
|
var $width;
|
||||||
|
@ -58,6 +58,7 @@ class ImageFile
|
||||||
{
|
{
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
$this->filepath = $filepath;
|
$this->filepath = $filepath;
|
||||||
|
$this->filename = basename($filepath);
|
||||||
|
|
||||||
$info = @getimagesize($this->filepath);
|
$info = @getimagesize($this->filepath);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user