Re: [SMARTY-DEV] Smarty Name Conflicts

From: Date: Fri, 30 Jan 2004 04:24:44 +0000
Subject: Re: [SMARTY-DEV] Smarty Name Conflicts
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2078@lists.php.net to get a copy of this message
From: "Christopher Stauffer" <chris@staufferinc.com> > Later, when another template is compiled by an end user executing a file > through the web(done under apache default user "nobody"), there is an error > writing to the directory that was created from the cron job execution from > earlier. > I solved a similar issue by making the php cli binary be owned by the web user, and set the user sticky bit. I then used the http://us4.php.net/manual/en/function.posix-seteuid.php to change to the web user if I detected that I was running in the CLI mode. HTH

« previous php.smarty.dev (#2078) next »