]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
barename wasn't used, let's rename it filename and use it
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 25 Jan 2015 01:27:02 +0000 (02:27 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 25 Jan 2015 01:27:02 +0000 (02:27 +0100)
lib/imagefile.php

index 8a0f65232793a962716b49f74dc1fe4f27b3fa94..0fe1c654b2c63d832e8de3f0e8f75ba3a77c90a2 100644 (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);