diff --git a/docs/en/programmers.xml b/docs/en/programmers.xml index 16e78ed5..f94e710e 100644 --- a/docs/en/programmers.xml +++ b/docs/en/programmers.xml @@ -1,74 +1,77 @@ - Smarty For Programmers + Smarty For Programmers + + Constants - - Constants - - - - SMARTY_DIR - - This should be the full system path to the location of the Smarty - class files. If this is not defined, then Smarty will attempt to - determine the appropriate value automatically. If defined, the path - must end with a slash. - - - SMARTY_DIR - + + SMARTY_DIR + + This should be the full system path to the location of the Smarty + class files. If this is not defined, then Smarty will attempt to + determine the appropriate value automatically. If defined, the path + must end with a slash. + + + SMARTY_DIR + + - - - +?> +]]> + + + + - - Variables + + Variables - - $template_dir + + $template_dir + + This is the name of the default template directory. If you do + not supply a resource type when including files, they will be + found here. By default this is "./templates", meaning that it + will look for the templates directory in the same directory as + the executing php script. + + + Technical Note + + It is not recommended to put this directory under + the web server document root. + + + + + $compile_dir + + This is the name of the directory where compiled templates are + located. By default this is "./templates_c", meaning that it + will look for the compile directory in the same directory as + the executing php script. + + + Technical Note - This is the name of the default template directory. If you do - not supply a resource type when including files, they will be - found here. By default this is "./templates", meaning that it - will look for the templates directory in the same directory as - the executing php script. - - - Technical Note - - It is not recommended to put this directory under - the web server document root. - - - - - $compile_dir - - This is the name of the directory where compiled templates are - located. By default this is "./templates_c", meaning that it - will look for the compile directory in the same directory as - the executing php script. - - - Technical Note - This setting must be either a relative or absolute path. include_path is not used for writing files. - - - Technical Note - + + + Technical Note + It is not recommended to put this directory under the web server document root. - - - + + + $config_dir This is the directory used to store config files used in the