Ignore:
Timestamp:
Dec 13, 2010, 11:49:00 AM (13 years ago)
Author:
Gotcha
Message:

Add get_absolute_root_url() fonction.
Thanks to P@t !

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Facebook_Integration/main.inc.php

    r7799 r8103  
    22/*
    33Plugin Name: Facebook Integration
    4 Version: 1.0
     4Version: 1.1
    55Description: Allows to improve the recognition of your gallery in Facebook when in this Community site you add a link towards your gallery (or your images).
    66Plugin URI: http://fr.piwigo.org/ext/extension_links.php?eid=469
     
    2626  $replacement = '<meta property="og:title" content="{$GALLERY_TITLE} - {$ALT_IMG}">
    2727<meta property="og:description" content="{$COMMENT_IMG}">
    28 <meta property="og:image" content="{$ROOT_WAY}{$current.THUMB_SRC}">
     28<meta property="og:image" content="'.get_absolute_root_url().'{$current.THUMB_SRC}">
    2929</head>
    3030';
Note: See TracChangeset for help on using the changeset viewer.