Update funzioni.php

sistemato bug
This commit is contained in:
Daniel Intrieri 2024-02-14 10:52:12 +01:00 committed by GitHub
parent dc85ee8ce6
commit fd06e20e74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ if ($controllo){
$cartelle = dirname(__FILE__); $cartelle = dirname(__FILE__);
$ultimacartella = basename($cartelle); $ultimacartella = basename($cartelle);
$urlcomp = site_url()().'/wp-content/plugins/'.$ultimacartella.'/menu/'; $urlcomp = site_url().'/wp-content/plugins/'.$ultimacartella.'/menu/';
$finalurl = $urlcomp.$urlfileprescelto; $finalurl = $urlcomp.$urlfileprescelto;
@ -249,7 +249,7 @@ function generahtmlmodal($filepdf){
$cartelle = dirname(__FILE__); $cartelle = dirname(__FILE__);
$ultimacartella = basename($cartelle); $ultimacartella = basename($cartelle);
$urlcomp = site_url()().'/wp-content/plugins/'.$ultimacartella.'/'; $urlcomp = site_url().'/wp-content/plugins/'.$ultimacartella.'/';
return ' return '
<div style="text-align:center;z-index:5000;"> <div style="text-align:center;z-index:5000;">