Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
\$plugins\_dir {#variable.plugins.dir}
2
==============
3
 
4
This is the directory or directories where Smarty will look for the
5
plugins that it needs. Default is `plugins/` under the
6
[`SMARTY_DIR`](#constant.smarty.dir). If you supply a relative path,
7
Smarty will first look under the [`SMARTY_DIR`](#constant.smarty.dir),
8
then relative to the current working directory, then relative to the PHP
9
include\_path. If `$plugins_dir` is an array of directories, Smarty will
10
search for your plugin in each plugin directory **in the order they are
11
given**.
12
 
13
> **Note**
14
>
15
> For best performance, do not setup your `$plugins_dir` to have to use
16
> the PHP include path. Use an absolute pathname, or a path relative to
17
> `SMARTY_DIR` or the current working directory.
18
 
19
> **Note**
20
>
21
> As of Smarty 3.1 the attribute \$plugins\_dir is no longer accessible
22
> directly. Use [`getPluginsDir()`](#api.get.plugins.dir),
23
> [`setPluginsDir()`](#api.set.plugins.dir) and
24
> [`addPluginsDir()`](#api.add.plugins.dir) instead.
25
 
26
See also [`getPluginsDir()`](#api.get.plugins.dir),
27
[`setPluginsDir()`](#api.set.plugins.dir) and
28
[`addPluginsDir()`](#api.add.plugins.dir).