From: Mikael Nordfeldth Date: Sun, 25 Jan 2015 01:27:02 +0000 (+0100) Subject: barename wasn't used, let's rename it filename and use it X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a9135080c331929f962a885b2210a3edc85ca058;p=quix0rs-gnu-social.git barename wasn't used, let's rename it filename and use it --- diff --git a/lib/imagefile.php b/lib/imagefile.php index 8a0f652327..0fe1c654b2 100644 --- a/lib/imagefile.php +++ b/lib/imagefile.php @@ -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);