diff --git a/package.json b/package.json index e0cb1834..26974697 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/setup/update_scripts/update-3.0.1-to-3.0.2.php b/setup/update_scripts/update-3.0.1-to-3.0.2.php index be474dac..1beaed9d 100644 --- a/setup/update_scripts/update-3.0.1-to-3.0.2.php +++ b/setup/update_scripts/update-3.0.1-to-3.0.2.php @@ -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');