mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-02 09:32:43 +00:00
parent
d1819dcabb
commit
9bafc5a3bb
4 changed files with 64 additions and 0 deletions
|
@ -313,6 +313,9 @@ class Helper extends Object {
|
|||
$path = h($this->assetTimestamp($this->webroot($path)));
|
||||
|
||||
if (!empty($options['fullBase'])) {
|
||||
if ($path[0] == '/') {
|
||||
$path = substr($path, 1);
|
||||
}
|
||||
$path = $this->url('/', true) . $path;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue