Update listafile.php

aggiustato url dinamico
This commit is contained in:
Daniel Intrieri 2024-01-29 10:57:30 +01:00 committed by GitHub
parent 361556ec6f
commit 54022fae6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 7 deletions

View File

@ -53,7 +53,11 @@ display:none;
global $wpdb; global $wpdb;
//impostazione variabile per tutte le operazioni di lettura/scrittura su directory //impostazione variabile per tutte le operazioni di lettura/scrittura su directory
$target_dir = $_SERVER['DOCUMENT_ROOT']."/wp-content/plugins/ieimenupdf/menu/";
$cartelle = dirname(__FILE__);
$ultimacartella = basename($cartelle);
$target_dir = $_SERVER['DOCUMENT_ROOT']."/wp-content/plugins/".$ultimacartella."/menu/";
?> ?>
@ -157,12 +161,6 @@ $results = $wpdb->get_results($query);
?> ?>
<?php
$urlcomp = get_home_url();
echo '<link rel="stylesheet" href="'.$urlcomp.'/wp-content/plugins/ieimenupdf/elementi/style.css">';
?>
<?php <?php