This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
friendica
/
friendica
mirror of
https://github.com/friendica/friendica.git
Watch
1
Star
2
Fork
1
Code
Issues
Releases
49
Wiki
Activity
Browse Source
pass to all templates by default
pull/2074/head
Fabrixxm
5 years ago
parent
0a9e017d34
commit
6605e30cf2
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
include/text.php
+ 4
- 0
include/text.php
View File
@ -20,6 +20,10 @@ function replace_macros($s,$r) {
$stamp1
=
microtime
(
true
);
$a
=
get_app
();
// pass $baseurl to all templates
$r
[
'$baseurl'
]
=
$a
->
get_baseurl
();
$t
=
$a
->
template_engine
();
try
{
Write
Preview
Loading…
Cancel
Save