diff --git a/php/helpers/getGraphHeader.php b/php/helpers/getGraphHeader.php index c50b173..a330c74 100644 --- a/php/helpers/getGraphHeader.php +++ b/php/helpers/getGraphHeader.php @@ -25,7 +25,7 @@ function getGraphHeader($photoID) { $parseUrl = parse_url('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); $url = '//' . $parseUrl['host'] . $parseUrl['path'] . '?' . $parseUrl['query']; - $picture = '//' . $parseUrl['host'] . $parseUrl['path'] . '/../uploads/' . $dir . '/' . $row->url; + $picture = 'http://' . $parseUrl['host'] . '/uploads/' . $dir . '/' . $row->url; $url = htmlentities($url); $picture = htmlentities($picture); @@ -39,9 +39,11 @@ function getGraphHeader($photoID) { $return .= ''; $return .= ''; - $return .= ''; + $return .= ''; $return .= ''; - $return .= ''; + $return .= ''; + $return .= ''; + $return .= ''; $return .= ''; $return .= ''; diff --git a/robots.txt b/robots.txt index 8ddc059..691c5ad 100644 --- a/robots.txt +++ b/robots.txt @@ -4,5 +4,4 @@ Disallow: /dist/ Disallow: /docs/ Disallow: /php/ Disallow: /plugins/ -Disallow: /src/ -Disallow: /uploads/ \ No newline at end of file +Disallow: /src/ \ No newline at end of file