Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

PEAR installable smarty

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
matthias
Smarty n00b


Joined: 19 Feb 2004
Posts: 1

PostPosted: Thu Feb 19, 2004 4:30 pm    Post subject: PEAR installable smarty Reply with quote

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
View user's profile Send private message
Duncan
Smarty Pro


Joined: 16 Dec 2003
Posts: 166

PostPosted: Thu Feb 19, 2004 8:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP