parent
943821f984
commit
e1a4b89912
|
@ -71,7 +71,7 @@ class SimpleResourceURLGenerator implements ResourceURLGenerator
|
|||
$relativePath = $resource->getRelativePath();
|
||||
$exists = $resource->exists();
|
||||
$absolutePath = $resource->getPath();
|
||||
} else if (Director::is_absolute_url($relativePath)) {
|
||||
} elseif (Director::is_absolute_url($relativePath)) {
|
||||
// Path is not relative, and probably not of this site
|
||||
return $relativePath;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue