--- embedaddon/php/ext/session/tests/session_set_save_handler_class_002.phpt 2012/05/29 12:34:42 1.1.1.1 +++ embedaddon/php/ext/session/tests/session_set_save_handler_class_002.phpt 2013/07/22 01:32:01 1.1.1.2 @@ -23,7 +23,7 @@ class MySession2 extends SessionHandler { public function open($path, $name) { if (!$path) { - $path = '/tmp'; + $path = sys_get_temp_dir(); } $this->path = $path . '/u_sess_' . $name; return true;