https://site.com/. ?lease=…..
-
Hello,
you have a bug in this line:
`$html .= ‘<p>= 0 ? substr( $_SERVER[‘REQUEST_URI’], 0, strpos( $_SERVER[‘REQUEST_URI’], ‘?’ ) ) : $_SERVER[‘REQUEST_URI’] ) . ‘?lease=’ . $download_lease_id . ‘”>’ . ( $release->artist ? $release->artist . ‘ – ‘ : ” ) . $release->title . ‘ ‘ . format_bytes( filesize( dc_file_location() . $release->filename ) ) . ‘</p>’;
ofwp-download-codes/dc_template.php
I think the use of $_SERVER[‘HTTP_HOST’] only gives you the server name (down to the .tld), for multi-site and not in root installations this will fail every time, sorry i don’t know what the right macro is….
much love
– furiousgreencloudhttps://www.ads-software.com/extend/plugins/wp-download-codes/
- The topic ‘https://site.com/. ?lease=…..’ is closed to new replies.