This website requires JavaScript.
Explore
Help
Sign in
Friendica
/
friendica-github
Watch
1
Star
0
Fork
You've already forked friendica-github
0
mirror of
https://github.com/friendica/friendica
synced
2024-12-23 13:20:21 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
d6cf791677
friendica-github
/
mod
/
session.php
7 lines
86 B
PHP
Raw
Normal View
History
Unescape
Escape
ff account manager
2010-11-11 10:49:28 +00:00
<
?
php
Updated modules to allow for partial overrides without errors Only define functions if they have not been defined before, e.g. in themes. This makes it possible to override parts of a module and still use the other functions.
2016-02-05 20:52:39 +00:00
if
(
!
function_exists
(
'session_content'
))
{
ff account manager
2010-11-11 10:49:28 +00:00
function
session_content
(
&
$a
)
{
Updated modules to allow for partial overrides without errors Only define functions if they have not been defined before, e.g. in themes. This makes it possible to override parts of a module and still use the other functions.
2016-02-05 20:52:39 +00:00
}
ff account manager
2010-11-11 10:49:28 +00:00
}
Reference in a new issue
Copy permalink