Re: [SMARTY] Does smarty creating hidden files?
| From: | Gerard Samuel | Date: | Thu, 11 Dec 2003 18:13:27 +0000 |
| Subject: | Re: [SMARTY] Does smarty creating hidden files? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10664@lists.php.net to get a copy of this message | ||
On Thursday 11 December 2003 06:28 am, messju mohr wrote:
> $smarty->_file_perms , $smarty->_dir_perms and umask() need to be set
> accordingly.
>
I didn't know these class vars were available before. Ill make use of them.
But while grepping Smarty 2.6.0 code, I didn't come across any php umask()
functions.
Is there a reason for this?
IMHO, it should be used when making directories/files,
as one cannot really tell whether a server's www shell settings are consistent
across different server installations when creating files/folders and
expecting the results to be uniformed.
Its just a thought, and in no way a major deal for me.
Thanks.