What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
getPluginsDir() — return the directory where plugins are stored
array getPluginsDir();
Example 14.27. getPluginsDir()
<?php // set some plugins directories $smarty->setPluginsDir(array( './plugins', './plugins_2', )); // get all directories where plugins are stored $config_dir = $smarty->getPluginsDir(); var_dump($config_dir); // array ?>
See also
setPluginsDir()
,
addPluginsDir()
and
$plugins_dir
.