This website requires JavaScript.
Explore
Help
Sign In
clones
/
friendica
Watch
1
Star
0
Fork
You've already forked friendica
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
c1c21ada0a
friendica
/
mod
/
session.php
7 lines
86 B
PHP
Raw
Normal View
History
Unescape
Escape
ff account manager
2010-11-11 05:49:28 -05: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 15:52:39 -05:00
if
(
!
function_exists
(
'session_content'
))
{
ff account manager
2010-11-11 05:49:28 -05: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 15:52:39 -05:00
}
ff account manager
2010-11-11 05:49:28 -05:00
}
Reference in New Issue
Copy Permalink