aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/class/modelrender.php2
-rw-r--r--composer.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/class/modelrender.php b/app/class/modelrender.php
index 540e7b9..2b22bb1 100644
--- a/app/class/modelrender.php
+++ b/app/class/modelrender.php
@@ -201,7 +201,7 @@ class Modelrender extends Modelart
$head .= '<meta property="og:title" content="' . $this->art->title() . '">' . PHP_EOL;
$head .= '<meta property="og:description" content="' . $this->art->description() . '">' . PHP_EOL;
- $head .= '<meta property="og:image" content="' . Config::domain() . '/' . Config::basepath() . '/' . self::thumbnailpath() . $this->art->id() . '.jpg">' . PHP_EOL;
+ $head .= '<meta property="og:image" content="' . Config::domain() . self::thumbnailpath() . $this->art->id() . '.jpg">' . PHP_EOL;
$head .= '<meta property="og:url" content="' . Config::domain() . '">' . PHP_EOL;
diff --git a/composer.json b/composer.json
index f7961e8..c279a67 100644
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,7 @@
{
"name": "w-cms",
"description": "point'n think",
- "version": "1.2.1",
+ "version": "1.2.2",
"require": {
"michelf/php-markdown": "^1.8",
"league/plates": "3.*",