From 561f5e5aac6fe3c72a23121219a5996a4b2f766b Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 22 Apr 2009 10:35:31 +0000 Subject: [PATCH] needed for check_load_extension (session-handler gets included before regular include via the header.inc.php) --- phpgwapi/inc/class.egw_session_memcache.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_session_memcache.inc.php b/phpgwapi/inc/class.egw_session_memcache.inc.php index f064d0acd6..2cd4151083 100644 --- a/phpgwapi/inc/class.egw_session_memcache.inc.php +++ b/phpgwapi/inc/class.egw_session_memcache.inc.php @@ -25,6 +25,9 @@ * @version $Id$ */ +// needed for check_load_extension (session-handler gets included before regular include via the header.inc.php) +require_once(EGW_API_INC.'/common_functions.inc.php'); + /** * File based php sessions or all other build in handlers configures via session_module_name() or php.ini: session.save_handler * @@ -282,4 +285,4 @@ function init_session_handler() array($ses,'gc')); if (!$ret) error_log(__METHOD__.'() session_set_save_handler(...)='.(int)$ret.', session_module_name()='.session_module_name().' *******************************'); } -init_session_handler(); \ No newline at end of file +init_session_handler();