新增发送安装反馈

This commit is contained in:
HFO4 2018-02-13 16:44:51 +08:00
parent d3061f0526
commit 85119bc54d

View file

@ -60,6 +60,7 @@ class Installer{
$ioContext->write("IMPORTANT! You may still have to configure the URL Rewrite to set everthing to work.");
$ioContext->write("Refer to the install manual for more informatioin.");
$ioContext->write("=======================");
self::sendFeedBack($siteUrl);
}
public static function writrConfig(Event $event,$sqlInfo){
@ -105,5 +106,9 @@ class Installer{
];
}
public static function sendFeedBack($url){
@file_get_contents("http://aoaoao.me/api/feedback.php?url=".urlencode($url));
}
}
?>