Re: [SMARTY] Permissions
| From: | Peter Bowyer | Date: | Sun, 14 Apr 2002 07:29:21 +0000 |
| Subject: | Re: [SMARTY] Permissions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-3695@lists.php.net to get a copy of this message | ||
At 11:07 AM 4/13/02 -0700, Ben Curtis wrote:
Is there any way to solve this problem besides overriding the _create_dir_structure() and _write_file() functions in a class extension?<?php require_once "Smarty/Smarty.php"; // I store the library in my PEAR folder now $smarty = new Smarty; $smarty->clear_compiled_tpl(); $smarty->clear_cache(); print "Directories cleared, you can now delete them."; ?> Works for me. Peter. -- Maple Design - quality web design and programming http://www.mapledesign.co.uk