Get Smarty

Donate

Paypal

Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

Name

getPluginsDir() — return the directory where plugins are stored

Description

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.

Comments
No comments for this page.

Advertisement

Sponsors [info]

Sponsors