From 8b76a3f550d78189ff86ee0ac9ea9fc707aadbce Mon Sep 17 00:00:00 2001 From: fredyrivera Date: Tue, 26 Sep 2017 16:50:09 -0500 Subject: [PATCH] Correccion xsite en multidominio para subir imagenes --- milfs/funciones/funciones.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/milfs/funciones/funciones.php b/milfs/funciones/funciones.php index ad6ebef..23415ce 100644 --- a/milfs/funciones/funciones.php +++ b/milfs/funciones/funciones.php @@ -10094,7 +10094,7 @@ $resultado =""; if($id =="") { $empresa = $_SESSION['id_empresa']; $javascript = "../milfs/includes/upload.php"; - $path = "$_SESSION[site]milfs/"; + $path = "$web[0]/milfs/"; } else { // require("includes/datos.php"); @@ -10103,7 +10103,7 @@ $empresa= $id_empresa[0]; $web = remplacetas('empresa','id',"$empresa",'web',''); //000 $javascript = "$_SESSION[site]/milfs/includes/upload.php"; - $path = "$_SESSION[site]milfs/"; + $path = "$web[0]/milfs/"; $javascript = "$web[0]/milfs/includes/upload.php"; // $path = "https://$web[0]/milfs/";