Browse Source

Add _.gif return from getWebName if image not exists.

master
Alexander Demidov 11 years ago
parent
commit
0caf3280b9
  1. 2
      File.class.php

2
File.class.php

@ -101,7 +101,7 @@ abstract class File
*/ */
public function getWebName() public function getWebName()
{ {
return (($this->getIsNoEmpty()) ? ($this->path . '/' . $this->filename) : '');
return (($this->getIsNoEmpty()) ? ($this->path . '/' . $this->filename) : '_.gif');
} }
public function __toString() public function __toString()

Loading…
Cancel
Save