I was too quick to save that file (File::getByUrl takes 1 arg)
This commit is contained in:
parent
2f91cb0df7
commit
4ea79bc396
@ -662,7 +662,7 @@ class Action extends HTMLOutputter // lawsuit
|
||||
$httpUrl = common_config('site', 'logo');
|
||||
if (!empty($httpUrl)) {
|
||||
try {
|
||||
$f = File::getByUrl('url', $httpUrl);
|
||||
$f = File::getByUrl($httpUrl);
|
||||
if (!empty($f->filename)) {
|
||||
// this will handle the HTTPS case
|
||||
$logoUrl = File::url($f->filename);
|
||||
|
Loading…
Reference in New Issue
Block a user