Browse Source

1.5, 2nd & last commit !

master
Ad5001 3 years ago
parent
commit
36c899f133
No account linked to committer's email address
2 changed files with 3 additions and 1 deletions
  1. 1
    1
      plugin.yml
  2. 2
    0
      resources/handler.php

+ 1
- 1
plugin.yml View File

@@ -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

+ 2
- 0
resources/handler.php View File

@@ -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…
Cancel
Save