Commit a9135080 authored by mmn's avatar mmn

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

parent 4b65275e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment