getting smarty_plugin dir
| From: | Roberto Bertó | Date: | Wed, 08 Jan 2003 23:12:43 +0000 |
| Subject: | getting smarty_plugin dir | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-507@lists.php.net to get a copy of this message | ||
Hi all,
When you are trying to find the right smarty_plugins dir that are being
used by some plugin use:
<?PHP
$this_plugin_dir = dirname(__FILE__);
?>
You can use this when you are using a custom function that calls a class
like SmartyForm do (check it on CVS version of SmartyForm at
http://sourceforge.net/projects/smartyform)
--
Atenciosamente,
---------------------------------------------------------
Roberto Berto - roberto@desenvolve.com.br
Gerente de Contas / Desenvolve
Hospedagem a R$ 7,60 por mês, com toda a nossa qualidade!
Confira: http://www.desenvolve.com.br
DESENVOLVE Soluções de Internet
http://www.desenvolve.com.br
TEL/FAX: 51 32270599 Rua Duque de Caxias, 1594 conj. 204
CEP 90010-281 - Porto Alegre - RS
---------------------------------------------------------