Kaynağa Gözat

On test l'install sans utilisateur

magikcypress 9 yıl önce
ebeveyn
işleme
737779ae6d
2 değiştirilmiş dosya ile 8 ekleme ve 7 silme
  1. 4 4
      conf/nginx.conf
  2. 4 3
      scripts/install

+ 4 - 4
conf/nginx.conf

@@ -7,10 +7,10 @@ location __PATHTOCHANGE__ {
     alias __FINALPATH__/;
     index index.php;
 
-    if (!-e $request_filename)
-    {
-      rewrite ^(.+)$ __PATHTOCHANGE__/index.php?q=$1 last;
-    }
+    # if (!-e $request_filename)
+    # {
+    #  rewrite ^(.+)$ __PATHTOCHANGE__/index.php?q=$1 last;
+    # }
     if ($scheme = http) {
       rewrite ^ https://$server_name$request_uri? permanent;
     }

+ 4 - 3
scripts/install

@@ -113,10 +113,11 @@ sudo php index_cli.php install \
 		--db_name=$db_name \
 		--db_driver=amysqli \
 		--db_port=3306 \
-		--lastname=$admin_prestashop \
-		--password=$pass \
-		--email=$email \
+		# --lastname=$admin_prestashop \
+		# --password=$pass \
+		# --email=$email \
 		--domain=$domain$path \
+		# --base_uri=$path \
 		--prefix=_ps_ 
 popd