Show existing directory server
This commit is contained in:
parent
23c49ded06
commit
c4a023bcab
|
@ -104,11 +104,13 @@ function friendica_channel_directory_server {
|
|||
return
|
||||
fi
|
||||
|
||||
CURR_DIR_SERVER=$(cat /var/www/$FRIENDICA_DOMAIN_NAME/htdocs/.htconfig.php | grep directory | awk -F "'" '{print $6}')
|
||||
|
||||
data=$(tempfile 2>/dev/null)
|
||||
trap "rm -f $data" 0 1 2 5 15
|
||||
dialog --title $"Friendica channel directory server" \
|
||||
--backtitle $"Freedombone Control Panel" \
|
||||
--inputbox $"When you click on 'channel directory' this is where Friendica will obtain its list from" 8 60 2>$data
|
||||
--inputbox $"When you click on 'channel directory' this is where Friendica will obtain its list from" 8 60 "$CURR_DIR_SERVER" 2>$data
|
||||
sel=$?
|
||||
case $sel in
|
||||
0)
|
||||
|
|
Loading…
Reference in New Issue