mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-03 10:02:42 +00:00
Merge remote-tracking branch 'origin/2.1' into 2.2
Conflicts: lib/Cake/Model/Model.php lib/Cake/Test/Case/Model/ModelValidationTest.php
This commit is contained in:
commit
51635c2ca6
9 changed files with 87 additions and 15 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