kopia lustrzana https://github.com/friendica/friendica
Merge pull request #1968 from annando/1510-directory-configuration
Set the new configuration for the global directory when updatingpull/1973/head
commit
5317c0b28f
11
update.php
11
update.php
|
@ -1648,3 +1648,14 @@ function update_1180() {
|
|||
|
||||
return UPDATE_SUCCESS;
|
||||
}
|
||||
|
||||
function update_1188() {
|
||||
|
||||
if (strlen(get_config('system','directory_submit_url')) AND
|
||||
!strlen(get_config('system','directory'))) {
|
||||
set_config('system','directory', dirname(get_config('system','directory_submit_url')));
|
||||
del_config('system','directory_submit_url');
|
||||
}
|
||||
|
||||
return UPDATE_SUCCESS;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue