Pārlūkot izejas kodu

* Bug: error en mostrarMediaWiki()
* Corrección fichero de configuración

Guzmán Castanedo Villalba 6 gadi atpakaļ
vecāks
revīzija
026e9e52d9
2 mainītis faili ar 3 papildinājumiem un 6 dzēšanām
  1. 0 2
      etc/nginx/sites-available/phpinfo.conf
  2. 3 4
      install

+ 0 - 2
etc/nginx/sites-available/phpinfo.conf

@@ -40,8 +40,6 @@ server {
 	#
 		# With php-fpm (or other unix sockets):
 		fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
-	#	# With php-cgi (or other tcp sockets):
-	#	fastcgi_pass 127.0.0.1:9000;
 	}
 
 	# deny access to .htaccess files, if Apache's document root

+ 3 - 4
install

@@ -616,7 +616,7 @@ mostrarSSL() {
 mostrarMediaWiki(){
 	# Introducir nombre wiki
 	while [ -z $nombreMediaWiki ]; do
-		nombreMediaWiki=$(whiptail --title "CONFIGURACION MEDIAWIKI" --inputbox "Introduzca el nombre de la Wiki:." $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) wiki.$hostname --ok-button "Continuar" --cancel-button "Salir" 3>&1 1>&2 2>&3)
+		nombreMediaWiki=$(whiptail --title "CONFIGURACION MEDIAWIKI" --inputbox "Introduzca el nombre de la Wiki:." $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) --ok-button "Continuar" --cancel-button "Salir" 3>&1 1>&2 2>&3)
 		comprobarError $? 1
 		# Mejora: comprobar si el dominio ya está en uso
 	done
@@ -627,7 +627,7 @@ mostrarMediaWiki(){
 		# Mejora: comprobar si el dominio ya está en uso
 	done
 	# Introducir tipo de Wiki (abierta, creación de cuenta requerida, sólo editores autorizados o wiki privada)
-	tipoMediaWiki=$(whiptail --tittle "CONFIGURACION MEDIAWIKI"  --radiolist "<ESPACIO>: seleccionar   <TAB>: cambiar   <FLECHAS>: moverse\n\nEscoge el tipo de wiki que quieres instalar:" $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) 4 \
+	tipoMediaWiki=$(whiptail --title "CONFIGURACION MEDIAWIKI"  --radiolist "<ESPACIO>: seleccionar   <TAB>: cambiar   <FLECHAS>: moverse\n\nEscoge el tipo de wiki que quieres instalar:" $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) 4 \
 	"Abierta" "Wiki Abierta" ON \
 	"CuentaRequerida" "Creación de cuenta requerida" OFF \
 	"EditoresAutorizados" "Sólo editores autorizados" OFF \
@@ -635,11 +635,10 @@ mostrarMediaWiki(){
 	--ok-button "Continuar" --cancel-button "Salir" --notags 3>&1 1>&2 2>&3)
 	comprobarError $? 1
 	# Introducir tipo de Licencia
-	licenciaMediaWiki=$(whiptail --tittle "CONFIGURACION MEDIAWIKI"  --radiolist "<ESPACIO>: seleccionar   <TAB>: cambiar   <FLECHAS>: moverse\n\nEscoge el tipo licencia para la wiki:" $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) 4 \
+	licenciaMediaWiki=$(whiptail --tittle "CONFIGURACION MEDIAWIKI"  --radiolist "<ESPACIO>: seleccionar   <TAB>: cambiar   <FLECHAS>: moverse\n\nEscoge el tipo licencia para la wiki:" $((ALTO * 9 / 10)) $((ANCHO * 9 / 10)) 3 \
 	"Nada" "Sin Licencia" ON \
 	"CC-BY-SA" "Creative Commons Atribución-CompartirIgual" OFF \
 	"CC-BY-NC-SA" "Creative Commons Atribución-NoComercial-CompartirIgual" OFF \
-	"Copyright" "Todos los derechos reservados" OFF \
 	--ok-button "Continuar" --cancel-button "Salir" --notags 3>&1 1>&2 2>&3)
 	comprobarError $? 1
 }