summaryrefslogtreecommitdiff
path: root/src/tests/session_encryption/set_custom_session_handler_ini.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/session_encryption/set_custom_session_handler_ini.phpt')
-rw-r--r--src/tests/session_encryption/set_custom_session_handler_ini.phpt17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/tests/session_encryption/set_custom_session_handler_ini.phpt b/src/tests/session_encryption/set_custom_session_handler_ini.phpt
new file mode 100644
index 0000000..7ed56d6
--- /dev/null
+++ b/src/tests/session_encryption/set_custom_session_handler_ini.phpt
@@ -0,0 +1,17 @@
1--TEST--
2Set a custom session handler
3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?>
5--INI--
6sp.configuration_file={PWD}/config/config_crypt_session.ini
7session.save_handler =
8--ENV--
9return <<<EOF
10REMOTE_ADDR=127.0.0.1
11EOF;
12--FILE--
13<?php
14echo "win";
15?>
16--EXPECT--
17win