blessing-skin-server/database/update_scripts/update-3.0.1-to-3.0.2.php

21 lines
409 B
PHP
Raw Normal View History

2016-08-11 13:17:30 +08:00
<?php
/**
* @Author: printempw
* @Date: 2016-08-11 13:08:13
* @Last Modified by: printempw
2016-08-29 14:23:53 +08:00
* @Last Modified time: 2016-08-29 13:47:13
2016-08-11 13:17:30 +08:00
*/
2016-08-11 18:11:20 +08:00
$options = [
'avatar_query_string' => '0',
'version' => '',
'check_update' => '1',
'update_source' => 'github'
];
foreach ($options as $key => $value) {
2016-08-29 14:23:53 +08:00
Option::set($key, $value);
2016-08-11 18:11:20 +08:00
}
Option::set('version', '3.0.2');