From 56dac6b76af686d63e290e8a0d345875dd83d17f Mon Sep 17 00:00:00 2001 From: fredyrivera Date: Wed, 5 Jul 2017 11:20:14 -0500 Subject: [PATCH] correcion crossite en upload --- Mapero.php | 4 ++-- milfs/funciones/funciones.php | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Mapero.php b/Mapero.php index 9d61852..3c91934 100644 --- a/Mapero.php +++ b/Mapero.php @@ -76,8 +76,8 @@ $ids = json_decode($otro_json[0]); iconSize: [60, 60], iconAnchor: [13, 27], popupAnchor: [1, -24], - /*iconUrl: feature.properties.icon.iconUrl*/ - iconUrl: 'https://tupale.co/milfs/images/secure/?file=150/da6d16547658ebc06c5378b30d1ee4bf.png' + iconUrl: feature.properties.icon.iconUrl + /*iconUrl: 'https://tupale.co/milfs/images/secure/?file=150/da6d16547658ebc06c5378b30d1ee4bf.png'*/ }); return L.marker(latlng, {icon: smallIcon}); diff --git a/milfs/funciones/funciones.php b/milfs/funciones/funciones.php index 34e08d3..8eae0b9 100644 --- a/milfs/funciones/funciones.php +++ b/milfs/funciones/funciones.php @@ -9938,7 +9938,9 @@ $id_empresa = remplacetas('form_id','id',"$respuesta",'id_empresa',''); $empresa= $id_empresa[0]; $web = remplacetas('empresa','id',"$empresa",'web',''); $javascript = "$_SESSION[site]/milfs/includes/upload.php"; - $path = "$_SESSION[site]milfs/"; + //$path = "$_SESSION[site]milfs/"; + $path = "https://$web[0]/milfs/"; + } /* $empresa = $_SESSION['id_empresa'];