Re: Latest snapshot and mkdir

From: Date: Mon, 03 Sep 2001 09:34:46 +0000
Subject: Re: Latest snapshot and mkdir
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1418@lists.php.net to get a copy of this message
Hi! Quoting Luc Saint-Elie <luc@saint-elie.com>: > a lot > of mkdir (even without cache enabled). > > Is it exact? And if the answer is yes will next release provide an > alternative? That would be my fault, I suspect: The patch I submitted uses the SAME algorithms for the creation of the names of compiled templates and cache files. It does create a directory per "master" file and save one file per compile_id/cache_id the directory. You can easily change that behaviour by subclassing and overriding the methods containing "auto" in their name. (That was my creation for "automatically created") > The reason for my question is that I?m on a shared host that doesn?t > allow mkdir (disabled) ?? strange... Did you set the permissions correctly? You're of course, free to change the "auto"-methods and eg. save everything in one directory. As was mentioned in the discussion of the naming, pay attention to the size of the directory... Don't conform! IkKampfCaspar75

« previous php.smarty.general (#1418) next »