PHP Classes

File: htdocs/xoops_lib/vendor/smarty/smarty/docs/programmers/api-variables/variable-config-dir.md

Recommend this page to a friend!
  Packages of Michael Beck   Xoops 2.5   htdocs/xoops_lib/vendor/smarty/smarty/docs/programmers/api-variables/variable-config-dir.md   Download  
File: htdocs/xoops_lib/vendor/smarty/smarty/docs/programmers/api-variables/variable-config-dir.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change:
Date: 3 months ago
Size: 748 bytes
 

Contents

Class file image Download

\$config\_dir {#variable.config.dir}

This is the directory used to store config files used in the templates. Default is ./configs, meaning that Smarty will look for the configs/ directory in the same directory as the executing php script.

> Note > > It is not recommended to put this directory under the web server > document root.

> Note > > As of Smarty 3.1 the attribute \$config\_dir is no longer accessible > directly. Use getConfigDir(), > setConfigDir() and > addConfigDir() instead.

See also getConfigDir(), setConfigDir() and addConfigDir().