update start settings.

This commit is contained in:
whale
2020-03-12 18:31:35 +08:00
parent e3c930bc62
commit 21059a7ed7
3 changed files with 8 additions and 0 deletions

View File

@@ -31,6 +31,10 @@ class DataProvider
echo Console::setColor("saved", "lightblue").PHP_EOL;
}
public static function getFrameworkLink(){
return ZMBuf::globals("http_reverse_link");
}
private static function getJsonData(string $string) {
if(!file_exists(self::getDataFolder().$string)) return [];
return json_decode(Co::readFile(self::getDataFolder().$string), true);