diff --git a/footer.php b/footer.php index c09f1df..e1f1b0c 100755 --- a/footer.php +++ b/footer.php @@ -45,14 +45,14 @@ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { - var u="///piwik/"; + var u="///piwik/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', 1]); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); })(); - + diff --git a/functions.php b/functions.php index e4627ed..f4a4935 100644 --- a/functions.php +++ b/functions.php @@ -735,6 +735,8 @@ function zenphoto_handler($atts, $content=null) { */ $filename = $_SERVER["DOCUMENT_ROOT"] . '/zenphoto/' . 'cache/' . $album . '/' . urlencode($img) . '_' . $size . '_watermark.jpg'; + echo $filename; + $zp_size = getimagesize(htmlentities($filename)); $zenphoto_img = (($caption != "") ? '