|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
matthias Smarty n00b
Joined: 19 Feb 2004 Posts: 1
|
Posted: Thu Feb 19, 2004 4:30 pm Post subject: PEAR installable smarty |
|
|
Is there any intrest in a PEAR package for smarty? So one could type something like
Code: | pear install http://smarty.php.net/Smarty.tgz
|
to install smarty and than do something like
Code: | require_once 'HTML/Smarty/Smarty.class.php';
$smarty = new Smarty;
$smarty->template_dir = '/var/templates/';
$smarty->compile_dir = '/var/templates_c/';
$smarty->config_dir = '/var/configs/';
$smarty->cache_dir = '/var/cache/';
|
to use it. |
|
Back to top |
|
Duncan Smarty Pro
Joined: 16 Dec 2003 Posts: 166
|
Posted: Thu Feb 19, 2004 8:16 pm Post subject: |
|
|
I think that most projects extend smarty with their own modifiers, plugins, ... and so the script would be bundled with Smarty.
Another problem I see there is that it would be a server wide install, so if an upgrade breaks the code and you're located on a shared server, then you won't be able to downgrade again.
I would favor the manual install over pear in smarty's case. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|