I did indeed include vitals instead of lib/vital_funcs, and found out the session stuff. But switching to lib/vital_funcs did not solve the problem. There are three redeclared functions in vital_funcs: my_add_null_slashes(), my_null_slashes(), and debug().

Adding “if (!function_exists(…))” blocks to conditionally declare them appears to be able to sidestep the issue. Unless there is some reason this should not be done, I will leave these if statements in vital_funcs and then recommit.

The better solution would be to factor these three functions into a third file, and have both install/include/common and include/lib/vital_funcs both require this third file.