Skip to content

Commit 3621077

Browse files
authored
Update Html.php
1 parent 36db8e5 commit 3621077

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Html.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,18 @@ public function __construct(
7272
foreach ($config as $k => $v) {
7373
$this->{$k} = $v;
7474
}
75-
} elseif (method_exists('Config\Html', 'getParams')) {
76-
foreach ((new \Config\Html)->getParams() as $k => $v) {
75+
} elseif (method_exists('\Config\Devbr\Html', 'getParams')) {
76+
foreach ((new \Config\Devbr\Html)->getParams() as $k => $v) {
7777
$this->{$k} = $v;
7878
}
7979
}
8080

8181
if ($this->pathHtml === null) {
82-
$this->pathHtml = \App::Html();
82+
$this->pathHtml = dirname(dirname(dirname(__DIR__))).'/Html';
8383
}
8484

8585
if ($this->pathWww === null) {
86-
$this->pathWww = \App::Web();
86+
$this->pathWww = dirname(dirname(dirname(dirname(__DIR__))));
8787
}
8888

8989
if ($this->url === null) {

0 commit comments

Comments
 (0)