Skip to content

Commit 4632c93

Browse files
authored
Update and rename Config/Html.php to Config/Devbr/Html.php
1 parent f4ee18e commit 4632c93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Config/Html.php renamed to Config/Devbr/Html.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
* @link http://dbrasil.tk/devbr
1313
*/
1414

15-
namespace Config;
15+
namespace Config\Devbr;
1616

1717
/**
18-
* Config\Html Class
18+
* Config\Devbr\Html Class
1919
*
2020
* @category Html
2121
* @package Config
@@ -47,8 +47,8 @@ class Html
4747
*/
4848
function __construct()
4949
{
50-
$this->pathWww = \App::Web();
51-
$this->pathHtml = \App::Html();
50+
$this->pathWww = defined('_PHPPATH') ? _PHPPATH : dirname(dirname(dirname(__DIR__)));
51+
$this->pathHtml = defined('_HTMLPATH') ? _HTMLPATH: __DIR__.'/Html';
5252

5353
$this->pathHtmlCache = $this->pathHtml.'cache/';
5454
$this->pathStyle = $this->pathWww.'css/';

0 commit comments

Comments
 (0)