@@ -340,21 +340,21 @@ public function setOptions(array $options)
340340 }
341341
342342 $ validOptions = array_flip (array (
343- 'cache_limiter ' , 'cookie_domain ' , 'cookie_httponly ' ,
343+ 'cache_expire ' , ' cache_limiter ' , 'cookie_domain ' , 'cookie_httponly ' ,
344344 'cookie_lifetime ' , 'cookie_path ' , 'cookie_secure ' ,
345345 'entropy_file ' , 'entropy_length ' , 'gc_divisor ' ,
346346 'gc_maxlifetime ' , 'gc_probability ' , 'hash_bits_per_character ' ,
347347 'hash_function ' , 'lazy_write ' , 'name ' , 'referer_check ' ,
348348 'serialize_handler ' , 'use_strict_mode ' , 'use_cookies ' ,
349349 'use_only_cookies ' , 'use_trans_sid ' , 'upload_progress.enabled ' ,
350350 'upload_progress.cleanup ' , 'upload_progress.prefix ' , 'upload_progress.name ' ,
351- 'upload_progress.freq ' , 'upload_progress.min-freq ' , 'url_rewriter.tags ' ,
351+ 'upload_progress.freq ' , 'upload_progress.min_freq ' , 'url_rewriter.tags ' ,
352352 'sid_length ' , 'sid_bits_per_character ' , 'trans_sid_hosts ' , 'trans_sid_tags ' ,
353353 ));
354354
355355 foreach ($ options as $ key => $ value ) {
356356 if (isset ($ validOptions [$ key ])) {
357- ini_set ('session. ' .$ key , $ value );
357+ ini_set ('url_rewriter.tags ' !== $ key ? ' session. ' .$ key : $ key , $ value );
358358 }
359359 }
360360 }
0 commit comments