/* sets user additions to SPL path */
setsplpath(path)
{
local dp;
if (argc < 1) path = "";
/* set user path additions */
setconfig("splpath", fixslash(path));
/* update full SPL path and return new full path */
dp = setconfig("spl_dynamic_path", 1);
path = getsplpath();
setconfig("spl_dynamic_path", dp);
return(path);
}