update to v3.2-pr8
This commit is contained in:
parent
4ae6d868bb
commit
9be6c356d2
|
|
@ -9,7 +9,7 @@ return [
|
|||
| Version of Blessing Skin Server
|
||||
|
|
||||
*/
|
||||
'version' => '3.2-pr7',
|
||||
'version' => '3.2-pr8',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
23
database/update_scripts/update-3.2-to-3.2-pr8.php
Normal file
23
database/update_scripts/update-3.2-to-3.2-pr8.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
/**
|
||||
* @Author: printempw
|
||||
* @Date: 2016-12-31 23:37:34
|
||||
* @Last Modified by: printempw
|
||||
* @Last Modified time: 2016-12-31 23:49:39
|
||||
*/
|
||||
|
||||
if (!Illuminate\Support\Str::startsWith(option('update_source'), 'http')) {
|
||||
Option::set('update_source', config('options.update_source'));
|
||||
}
|
||||
|
||||
foreach (config('options') as $key => $value) {
|
||||
if ($value === "true" || $value === "false") {
|
||||
$option = option($key);
|
||||
|
||||
if ($option === "0" || $option === "1") {
|
||||
Option::set([$key => ($option === "0" ? "false" : "true")]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Option::set('version', '3.2-pr8');
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "blessing-skin-server",
|
||||
"version": "3.2.0-pr7",
|
||||
"version": "3.2.0-pr8",
|
||||
"description": "Just a simple open-source Minecraft skin server written in PHP.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user