File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
1515namespace Config \Cli ;
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 */
2626class 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
You can’t perform that action at this time.
0 commit comments