This website requires JavaScript.
Explore
Help
Register
Sign in
keith
/
friendica
Watch
1
Star
0
Fork
You've already forked friendica
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
4d21671f75
friendica
/
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