Correccion xsite en multidominio para subir imagenes

This commit is contained in:
fredyrivera 2017-09-26 16:50:09 -05:00
parent 08c2f8d108
commit 8b76a3f550
1 changed files with 2 additions and 2 deletions

View File

@ -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/";