diff --git a/altpager.tgz b/altpager.tgz index 41f67661..87bb2f8f 100644 Binary files a/altpager.tgz and b/altpager.tgz differ diff --git a/altpager/altpager.php b/altpager/altpager.php index f5ccbe4d..20517d2f 100755 --- a/altpager/altpager.php +++ b/altpager/altpager.php @@ -93,7 +93,7 @@ function altpager_settings(&$a,&$s) { } function altpager_plugin_admin(&$a, &$o){ - $t = file_get_contents( $a->get_baseurl() . "/addon/altpager/admin.tpl" ); + $t = file_get_contents( "addon/altpager/admin.tpl" ); $o = replace_macros($t, array( '$submit' => t('Submit'), '$global' => array('altpagerchoice', t('Global'), 1, t('Force global use of the alternate pager'), get_config('alt_pager', 'global') == 1), diff --git a/fbpost.tgz b/fbpost.tgz index ded32e19..ecf933d8 100644 Binary files a/fbpost.tgz and b/fbpost.tgz differ diff --git a/fbpost/fbpost.php b/fbpost/fbpost.php index 4aeca96d..ab49c303 100644 --- a/fbpost/fbpost.php +++ b/fbpost/fbpost.php @@ -239,7 +239,7 @@ function fbpost_content(&$a) { $page_access_token = get_pconfig(local_user(),'facebook','page_access_token'); $fb_token = get_pconfig($a->user['uid'],'facebook','access_token'); $url = 'https://graph.facebook.com/me/accounts'; - $x = file_get_contents($url."?access_token=".$fb_token); + $x = fetch_url($url."?access_token=".$fb_token); $accounts = json_decode($x); $o .= t("Post to page/group:")."