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