Jelajahi Sumber

do not intermix localhost and 127.0.0.1 over the place here; stick with 127.0.0.1 for now as this is already used in other places here

Ralf S. Engelschall 17 tahun lalu
induk
melakukan
246caad083
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      drupal/drupal.spec

+ 3 - 3
drupal/drupal.spec

@@ -616,7 +616,7 @@ AutoReqProv:  no
 
     #   pre-configure settings.php
     %{l_shtool} subst \
-        -e 's|^\( *\$db_url\) *=.*$|\1 = "mysql://drupal:drupal@localhost/drupal";|' \
+        -e 's|^\( *\$db_url\) *=.*$|\1 = "mysql://drupal:drupal@127.0.0.1/drupal";|' \
         $RPM_BUILD_ROOT%{l_prefix}/share/drupal/sites/default/default.settings.php
 
     #   set data location
@@ -692,8 +692,8 @@ AutoReqProv:  no
           echo "     $RPM_INSTALL_PREFIX/etc/drupal/default/settings.php"
           echo ""
           echo "5. access Drupal via:"
-          echo "     http://localhost:8080/drupal/      (website view)"
-          echo "     http://localhost:8080/drupal/admin (website admin)"
+          echo "     http://127.0.0.1:8080/drupal/      (website view)"
+          echo "     http://127.0.0.1:8080/drupal/admin (website admin)"
         ) | %{l_rpmtool} msg -b -t notice
     fi
     if [ $1 -eq 2 ]; then