mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
rename App Methods
- rename get_baseurl() to getBaseURL()
This commit is contained in:
parent
cac6cbc235
commit
1454abfdb4
62 changed files with 523 additions and 523 deletions
|
@ -36,7 +36,7 @@ function remote_permissions_settings(&$a,&$o) {
|
|||
|
||||
/* Add our stylesheet to the page so we can make our settings look nice */
|
||||
|
||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/remote_permissions/settings.css' . '" media="all" />' . "\r\n";
|
||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->getBaseURL() . '/addon/remote_permissions/settings.css' . '" media="all" />' . "\r\n";
|
||||
|
||||
/* Get the current state of our config variable */
|
||||
|
||||
|
@ -78,7 +78,7 @@ function remote_permissions_content($a, $item_copy) {
|
|||
return;
|
||||
|
||||
// Find out if the contact lives here
|
||||
$baseurl = $a->get_baseurl();
|
||||
$baseurl = $a->getBaseURL();
|
||||
$baseurl = substr($baseurl, strpos($baseurl, '://') + 3);
|
||||
if(strpos($r[0]['url'], $baseurl) === false)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue