1.5, 2nd & last commit !
This commit is contained in:
parent
c5c8e3c1eb
commit
36c899f133
2 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
name: Online
|
||||
author: Ad5001
|
||||
version: 1.4
|
||||
version: 1.5
|
||||
api: [2.0.0]
|
||||
description: "You're own website, on PocketMine.'"
|
||||
main: Ad5001\Online\Main
|
||||
|
|
|
@ -29,6 +29,8 @@ if(!file_exists(__DIR__ . "/" . $uri)) {
|
|||
include(__DIR__ . "/" . $uri . "index.html");
|
||||
} elseif(file_exists(__DIR__ . "/" . $uri . "index.php")) {
|
||||
include(__DIR__ . "/" . $uri . "index.php");
|
||||
} elseif(file_exists(__DIR__ . "/" . $uri . $cfg["index"])) {
|
||||
include(__DIR__ . "/" . $uri . $cfg["index"]);
|
||||
}
|
||||
} else {
|
||||
include(__DIR__ . "/" . $uri);
|
||||
|
|
Loading…
Reference in a new issue