This website requires JavaScript.
Explore
Help
Register
Sign in
bitPickups
/
friendica_2019-12_sharedHosting_hotFix
Watch
1
Star
1
Fork
You've already forked friendica_2019-12_sharedHosting_hotFix
0
Code
Pull requests
Activity
c1c21ada0a
friendica_2019-12_sharedHos...
/
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
}
Copy permalink