Get Smarty



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


Get the juciest casino bonuses at this great website


addPluginsDir() — add a directory to the list of directories where plugins are stored


Smarty addPluginsDir(string|array plugins_dir);

Example 14.2. addPluginsDir()


// add directory where plugins are stored

// add multiple directories where plugins are stored

// view the plugins dir chain

// chaining of method calls



See also getPluginsDir(), setPluginsDir() and $plugins_dir.

by Flip on Nov 17, 2011 at 11:40
Setting your include path by either of these 3 options do not help: 1. ini_set('include_path', 'paths'); // for older PHP versions 2. set_include_path('paths'); // for newer PHP versions 3. setting include_path = "paths" in php.ini You have to set either the full path or the path relative to the script execution directory. I don't know why, i feel like setting an include path should work.