summaryrefslogtreecommitdiffstats
path: root/app/class/obj.class.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-02-11 16:15:36 -0500
committerMalf Furious <m@lfurio.us>2018-02-11 16:15:36 -0500
commitf1c92c8a67fee9d30480c6a72ac3d00b1879edfd (patch)
treec815fbcdb0cc189704ec72916d9ef15bc0877a10 /app/class/obj.class.php
parent319d38f0eb0d78d30b4261856b0abbf674535366 (diff)
downloadscrott-f1c92c8a67fee9d30480c6a72ac3d00b1879edfd.tar.gz
scrott-f1c92c8a67fee9d30480c6a72ac3d00b1879edfd.zip
Address issue with user functions getCurrent() and setCurrent()
Previously, these functions would always call session_start() before doing most of their work. However, I've found that calling that function two or more times within the lifetime of a program results in NOTICE messages output from the PHP interpreter. Therefore, I am now only calling session_start() if the session is not already active.
Diffstat (limited to 'app/class/obj.class.php')
0 files changed, 0 insertions, 0 deletions