Skip to content

Commit 506ca72

Browse files
authored
Bug in index
Correção da verificação do arquivo home.html
1 parent 4c4f190 commit 506ca72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.php/Resource/Main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function __construct($config = [])
7575
*/
7676
function index()
7777
{
78-
if (!file_exists(_HTML.'nopage.html')) {
78+
if (!file_exists(_HTML.'home.html')) {
7979
exit('<style>h1{font-size:2em;margin:0;padding:5px 0}div{position:absolute;top:50%;left:50%;width:50%;margin:-145px 0 0 -25%;text-align:center}</style><a href="https://github.com/devbr/website"><div><h1>Hello World!</h1>More info in Github.</div></a>');
8080
}
8181
//Configuration of style & script

0 commit comments

Comments
 (0)