Re: [SMARTY] Smarty creating bad directory
| From: | M Mohr | Date: | Thu, 23 Jan 2003 17:18:29 +0000 |
| Subject: | Re: [SMARTY] Smarty creating bad directory | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7311@lists.php.net to get a copy of this message | ||
On Thu, Jan 23, 2003 at 11:59:15AM -0500, Rod Kreisler wrote:
> In templates_c Smarty is creating the directory "-11"
>
> Obviously this is an illegal name. Unfortunately, when I change the
> template, it is ignored and the compiled version is still run. I'm assuming
> that this is because of the illegal directory name. Even with
> compile_check=false this still occurs.
>
> I was able to get around the problem by rm templates_c and recreating it
> (rm -11 obviously wouldn't work, but neither would rm "-11").
$ rm -- -11
-- stops rm from parsing any further options.
have fun
messju
> Rod
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php