update to v3.0.2

This commit is contained in:
printempw 2016-08-11 18:11:20 +08:00
parent 013edd87ac
commit c6cedc8ca3
2 changed files with 14 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "blessing-skin-server",
"version": "3.0.1",
"version": "3.0.2",
"description": "Just a simple open-source Minecraft skin server written in PHP.",
"repository": {
"type": "git",

View File

@ -3,7 +3,18 @@
* @Author: printempw
* @Date: 2016-08-11 13:08:13
* @Last Modified by: printempw
* @Last Modified time: 2016-08-11 13:15:35
* @Last Modified time: 2016-08-11 13:25:23
*/
echo "shit";
$options = [
'avatar_query_string' => '0',
'version' => '',
'check_update' => '1',
'update_source' => 'github'
];
foreach ($options as $key => $value) {
Option::add($key, $value);
}
Option::set('version', '3.0.2');