This website requires JavaScript.
Explore
Help
Register
Sign In
MrPetovan
/
friendica
Watch
2
Star
0
Fork
You've already forked friendica
0
Code
Issues
Pull requests
Releases
Wiki
Activity
0c67c89715
friendica
/
mod
/
session.php
7 lines
86 B
PHP
Raw
Normal View
History
Unescape
Escape
ff account manager
2010-11-11 11:49:28 +01: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 21:52:39 +01:00
if
(
!
function_exists
(
'session_content'
))
{
ff account manager
2010-11-11 11:49:28 +01: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 21:52:39 +01:00
}
ff account manager
2010-11-11 11:49:28 +01:00
}
Reference in a new issue
Copy permalink