[geeklog-devel] Problem with HTTP_Sessions
Tony Bibbs
tony at tonybibbs.com
Sun Aug 8 19:41:28 EDT 2004
Just add $_CONF['path_http_session']. Make it an absolute path and
everybody can be happy. Include it in GL by default in /system
--Tony
Dirk Haun wrote:
>Blaine made the changes to use the HTTP_Sessions class in CVS now. It
>seems that class is not part of the standard PEAR install, though. So
>when people chose to use the PEAR classes installed on their server, they
>may not have that class there.
>
>Looks like we're in for another support nightmare :-(
>
>
>To recap, currently we're doing this:
>
>If $_CONF['have_pear'] = false, i.e. the user either doesn't have PEAR
>installed or chose to use the version we're supplying with Geeklog, we
>use ini_set to add our PEAR path (/path/to/geeklog/system/pear) to the
>system's include path. We have to do that since the PEAR classes only use
>relative paths for their includes.
>
>Problem: ini_set may not be allowed on some hosts.
>
>If $_CONF['have_pear'] = true, i.e. the user chose to use the PEAR
>version installed on the server, we don't use ini_set and rely on the
>include path being properly set on the server anyway.
>
>Problem: HTTP_Sessions is not part of the standard PEAR install and may
>not be available on the server.
>
>Comments, suggestions? Go back to plain PHP sessions? Drop them entirely?
>Other ideas?
>
>bye, Dirk
>
>
>
>
More information about the geeklog-devel
mailing list