浏览代码

Minor change

pdontthink 22 年之前
父节点
当前提交
dc99183182
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      doc/plugin.txt

+ 4 - 0
doc/plugin.txt

@@ -1207,8 +1207,12 @@ strongly encouraged to make use of.  Using them also makes your job easier.
 
   4.  To remove a variable from the session:
 
+         global $favorite_color;
          sqsession_unregister('favorite_color');
 
+      Strictly speaking, globalizing the variable shouldn't be necessary,
+      but certain versions of PHP seem to behave more predictably if you do.
+
 
 Form Variables
 --------------