From: <nuc...@us...> - 2008-07-28 19:27:58
|
Revision: 5443 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5443&view=rev Author: nuclear_eclipse Date: 2008-07-28 19:27:55 +0000 (Mon, 28 Jul 2008) Log Message: ----------- Mantis complains if try to default config values to 'null'.... >:( Modified Paths: -------------- branches/BRANCH_1_1_0/mantisbt/config_defaults_inc.php branches/BRANCH_1_1_0/mantisbt/core/session_api.php Modified: branches/BRANCH_1_1_0/mantisbt/config_defaults_inc.php =================================================================== --- branches/BRANCH_1_1_0/mantisbt/config_defaults_inc.php 2008-07-28 19:19:47 UTC (rev 5442) +++ branches/BRANCH_1_1_0/mantisbt/config_defaults_inc.php 2008-07-28 19:27:55 UTC (rev 5443) @@ -149,8 +149,8 @@ # 'memcached' -> Memcached storage sessions $g_session_handler = 'php'; - # Session save path. If null, uses default value as set by session handler. - $g_session_save_path = null; + # Session save path. If false, uses default value as set by session handler. + $g_session_save_path = false; ############################# # Configuration Settings Modified: branches/BRANCH_1_1_0/mantisbt/core/session_api.php =================================================================== --- branches/BRANCH_1_1_0/mantisbt/core/session_api.php 2008-07-28 19:19:47 UTC (rev 5442) +++ branches/BRANCH_1_1_0/mantisbt/core/session_api.php 2008-07-28 19:27:55 UTC (rev 5443) @@ -50,7 +50,7 @@ class MantisPHPSession extends MantisSession { function __construct() { $t_session_save_path = config_get_global( 'session_save_path' ); - if ( !is_null( $t_session_save_path ) ) { + if ( ! $t_session_save_path ) { session_save_path( $t_session_save_path ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |