Skip to content

Commit 23224d0

Browse files
authored
Update Optimizer.php
1 parent 85bd297 commit 23224d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Config/Cli/Optimizer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @copyright 2016 Bill Rocha <http://google.com/+BillRocha>
1010
* @license <https://opensource.org/licenses/MIT> MIT
1111
* @version GIT: 0.0.2
12-
* @link http://paulorocha.tk/devbr
12+
* @link http://dbrasil.tk/devbr
1313
*/
1414

1515
namespace Config\Cli;
@@ -21,7 +21,7 @@
2121
* @package Config
2222
* @author Bill Rocha <[email protected]>
2323
* @license <https://opensource.org/licenses/MIT> MIT
24-
* @link http://paulorocha.tk/devbr
24+
* @link http://dbrasil.tk/devbr
2525
*/
2626
class Optimizer
2727
{
@@ -43,7 +43,7 @@ function __construct(string $file = null)
4343
$file = static::$configFile;
4444
}
4545
if ($file == false) {
46-
$file = static::$configFile = str_replace('.php', '.json', __FILE__);
46+
$file = static::$configFile = substr_replace(__FILE__, '.json', '-4');
4747
$this->baseDir = \Config\App::Web();
4848
}
4949

0 commit comments

Comments
 (0)