AW: [SMARTY] Big problems thanks to safemode
| From: | Werner Schweizer | Date: | Thu, 30 May 2002 19:49:16 +0000 |
| Subject: | AW: [SMARTY] Big problems thanks to safemode | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4469@lists.php.net to get a copy of this message | ||
I'm running it on PHP 4.1.2 with Smarty 2.1.1.
But I had to eliminate the using uf subdirectories in cache and
templates_c.
I did this by subclassing smarty by a piece of code I got from
Hans-Peter Oeri.
Here his comment:
----------------------
>Hi!
>
>As there might be some more interested in a single dir smarty, I
quickly subclassed it to achieve that very goal.
>
>Just include SmartySingleDir.class.php instead of Smarty.class.php and
change references to class Smarty to class
>SmartySingleDir (not too many >instances, if your code is well formed
*grin*)
>
>IMPORTANT: I only did a quick check... It may or may not work, blow up
your keyboard or cancel your bank account. Use it at your own risk.
>
>I will gladly fix bugs in this subclass upon information about them ;)
----------------------
I appended SmartySingleDir.class.zip
mfg
Werner Schweizer
> -----Ursprüngliche Nachricht-----
> Von: MishY [mailto:mishy@cybertechhelp.com]
> Gesendet: Donnerstag, 30. Mai 2002 20:52
> An: smarty-general@lists.php.net
> Betreff: [SMARTY] Big problems thanks to safemode
>
>
> Heya,
>
> Anyone know how to get smarty running under safemode ?
>
> My hosts won't disable it :-(
>
> Thanks,
>
>
>
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Attachment: [application/x-zip-compressed] SmartySingleDir.class.zip
Attachment: [application/x-zip-compressed] SmartySingleDir.class.zip