barename wasn't used, let's rename it filename and use it

This commit is contained in:
Mikael Nordfeldth 2015-01-25 02:27:02 +01:00
parent 4b65275e41
commit a9135080c3

View File

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