mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
- plugins with own independent scripts work now (cookie_path and url root are
correct) - prepare a bit some url functions so that later we can fully embed pwg in scripts located outside pwg - remove some unnecessary language strings git-svn-id: http://piwigo.org/svn/trunk@1750 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -51,8 +51,18 @@ INSERT INTO '.USER_FEED_TABLE.'
|
||||
;';
|
||||
pwg_query($query);
|
||||
|
||||
$feed_url=PHPWG_ROOT_PATH.'feed.php?feed='.$page['feed'];
|
||||
$feed_image_only_url=$feed_url.'&image_only';
|
||||
|
||||
$feed_url=PHPWG_ROOT_PATH.'feed.php';
|
||||
if ($user['is_the_guest'])
|
||||
{
|
||||
$feed_image_only_url=$feed_url;
|
||||
$feed_url .= '?feed='.$page['feed'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$feed_url .= '?feed='.$page['feed'];
|
||||
$feed_image_only_url=$feed_url.'&image_only';
|
||||
}
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | template initialization |
|
||||
|
||||
Reference in New Issue
Block a user