reference/session/functions/session-save-path.xml
151e61773c016edcae8fd4989ad9a86ffd03c283
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.session-save-path">
3
+
<refentry xml:id="function.session-save-path" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>session_save_path</refname>
6
6
<refpurpose>Get and/or set the current session save path</refpurpose>
...
...
@@ -9,8 +9,8 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>session_save_path</methodname>
13
-
<methodparam choice="opt"><type>string</type><parameter>path</parameter></methodparam>
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>session_save_path</methodname>
13
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>path</parameter><initializer>&null;</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
<function>session_save_path</function> returns the path of the current
...
...
@@ -26,7 +26,7 @@
26
26
<term><parameter>path</parameter></term>
27
27
<listitem>
28
28
<para>
29
-
Session data path. If specified, the path to which data is saved will
29
+
Session data path. If specified and not &null;, the path to which data is saved will
30
30
be changed. <function>session_save_path</function> needs to be called
31
31
before <function>session_start</function> for that purpose.
32
32
</para>
...
...
@@ -48,10 +48,32 @@
48
48
<refsect1 role="returnvalues">
49
49
&reftitle.returnvalues;
50
50
<para>
51
-
Returns the path of the current directory used for data storage.
51
+
Returns the path of the current directory used for data storage, &return.falseforfailure;.
52
52
</para>
53
53
</refsect1>
54
54

55
+
<refsect1 role="changelog">
56
+
&reftitle.changelog;
57
+
<informaltable>
58
+
<tgroup cols="2">
59
+
<thead>
60
+
<row>
61
+
<entry>&Version;</entry>
62
+
<entry>&Description;</entry>
63
+
</row>
64
+
</thead>
65
+
<tbody>
66
+
<row>
67
+
<entry>8.0.0</entry>
68
+
<entry>
69
+
<parameter>path</parameter> is nullable now.
70
+
</entry>
71
+
</row>
72
+
</tbody>
73
+
</tgroup>
74
+
</informaltable>
75
+
</refsect1>
76
+

55
77
<refsect1 role="seealso">
56
78
&reftitle.seealso;
57
79
<para>
...
...
@@ -65,7 +87,6 @@
65
87
</refsect1>
66
88

67
89
</refentry>
68
-

69
90
<!-- Keep this comment at the end of the file
70
91
Local variables:
71
92
mode: sgml
72
93