Compare commits
2 commits
10448793f3
...
4bb747c11c
Author | SHA1 | Date | |
---|---|---|---|
Timo Ley | 4bb747c11c | ||
Timo Ley | cc52fe4630 |
9
mpt.php
9
mpt.php
|
@ -1,9 +1,10 @@
|
|||
<?php
|
||||
include "maven/mavenresolv.php";
|
||||
include 'vars.php';
|
||||
|
||||
if ($_SERVER["PATH_INFO"] == "/latest") {
|
||||
header('Content-Type: text/plain');
|
||||
echo "https://data.tilera.xyz/file/mpt/mpt-1.2-SNAPSHOT.jar";
|
||||
} elseif ($_SERVER["PATH_INFO"] == "/latestnew") {
|
||||
echo mavenLatest("ley.anvil", "modpacktools");
|
||||
echo $mptlatest;
|
||||
} elseif ($_SERVER["PATH_INFO"] == "/script") {
|
||||
header('Content-Type: text/plain');
|
||||
echo file_get_contents("https://data.tilera.xyz/file/mpt/mpt");
|
||||
}
|
||||
|
|
Reference in a new issue