forked from qwerty/tupali
Correccion xsite en multidominio para subir imagenes
This commit is contained in:
parent
ef4a907077
commit
08c2f8d108
@ -10090,6 +10090,7 @@ function subir_imagen($respuesta,$id){
|
||||
$resultado ="";
|
||||
///vinculado con la funcion de javascript resultadoUpload(estado, file) que esta en librerias/scripts.js
|
||||
//this.form.taget= 'ventana'; this.form.action = 'destinoEspecial.html'; this.form.submit()"
|
||||
|
||||
if($id =="") {
|
||||
$empresa = $_SESSION['id_empresa'];
|
||||
$javascript = "../milfs/includes/upload.php";
|
||||
@ -10103,7 +10104,7 @@ $web = remplacetas('empresa','id',"$empresa",'web','');
|
||||
//000 $javascript = "$_SESSION[site]/milfs/includes/upload.php";
|
||||
|
||||
$path = "$_SESSION[site]milfs/";
|
||||
$javascript = "$path/includes/upload.php";
|
||||
$javascript = "$web[0]/milfs/includes/upload.php";
|
||||
// $path = "https://$web[0]/milfs/";
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user