mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 17:08:48 +00:00
Update obsolete App::getBaseUrl calls to DI::baseUrl
This commit is contained in:
parent
c03588f0b4
commit
905823ea63
38 changed files with 510 additions and 480 deletions
|
@ -107,7 +107,7 @@ function windowsphonepush_settings(&$a, &$s)
|
|||
}
|
||||
|
||||
/* 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->getBaseURL() . '/addon/windowsphonepush/windowsphonepush.css' . '" media="all" />' . "\r\n";
|
||||
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . DI::baseUrl()->get() . '/addon/windowsphonepush/windowsphonepush.css' . '" media="all" />' . "\r\n";
|
||||
|
||||
/* Get the current state of our config variables */
|
||||
$enabled = PConfig::get(local_user(), 'windowsphonepush', 'enable');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue