Explorar o código

Use var instead of string

Jaap Marcus %!s(int64=5) %!d(string=hai) anos
pai
achega
d0077b8c1b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      func/upgrade.sh

+ 1 - 1
func/upgrade.sh

@@ -675,7 +675,7 @@ upgrade_rainloop(){
 }
 
 disable_api(){
-    if [ "API" = "no" ]; then
+    if [ "$API" = "no" ]; then
         echo "[ ! ] Disable Api..."
         sed -i 's|//die("Error: Disabled");|die("Error: Disabled");|g' $HESTIA/web/api/index.php
     fi