X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=update.php;h=7c32f5819c35ba7aa905a23f1640932fc0a8d268;hb=546fd6cbbee4d746c8a27bebfb25e29c082822fd;hp=06aab577a35609f5dccc38f5c6f845bac1e52fcf;hpb=ce9b4e868b68269277a88bd34e9b05244366e9ab;p=friendica.git diff --git a/update.php b/update.php index 06aab577a3..7c32f5819c 100644 --- a/update.php +++ b/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; +}