Changeset 19395 for extensions/TweetThis
- Timestamp:
- Dec 11, 2012, 5:14:39 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/TweetThis/main.inc.php
r19362 r19395 28 28 ); 29 29 30 // urls and position for index30 // urls and position 31 31 if (script_basename() == 'picture') 32 32 { 33 $template->assign('TWEET_URL', get_absolute_root_url(). duplicate_picture_url());33 $template->assign('TWEET_URL', get_absolute_root_url().ltrim(duplicate_picture_url(), './')); 34 34 } 35 35 else if (script_basename() == 'index') 36 36 { 37 37 $conf['TweetThis']['position'] = 'index'; 38 $template->assign('TWEET_URL', get_absolute_root_url().duplicate_index_url()); 38 $template->assign('TWEET_URL', get_absolute_root_url().ltrim(duplicate_index_url(array(), array('start')), './')); 39 } 40 else 41 { 42 return; 39 43 } 40 44
Note: See TracChangeset
for help on using the changeset viewer.