Optimise users home page
This commit is contained in:
@@ -87,9 +87,11 @@ class Site extends Model
|
||||
|
||||
public function getSiteLogoAttribute()
|
||||
{
|
||||
$return = $this->getSiteDetailValue('site_logo')->value;
|
||||
//$return = $this->getSiteDetailValue('site_logo')->value;
|
||||
// @todo Get from DB.
|
||||
$return = 'site/1/gth-horseradishfont-full.png';
|
||||
|
||||
return $return ? 'storage/'.$return : '/image/generic/150/20/fff';
|
||||
return $return ? '/storage/'.$return : '/image/generic/150/20/fff';
|
||||
}
|
||||
|
||||
private function getSiteDetailValue($key)
|
||||
|
Reference in New Issue
Block a user