mirror of
https://github.com/smarty-php/smarty.git
synced 2026-04-29 18:23:24 +02:00
fixes to docs
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
==================
|
||||
|
||||
When this value is set to a non-null-value it\'s value is used as php\'s
|
||||
[`error_reporting`](&url.php-manual;error_reporting) level inside of
|
||||
[`error_reporting`](https://www.php.net/error_reporting) level inside of
|
||||
[`display()`](#api.display) and [`fetch()`](#api.fetch).
|
||||
|
||||
Smarty 3.1.2 introduced the
|
||||
|
||||
@@ -18,7 +18,7 @@ found.
|
||||
>
|
||||
> If the directories known to `$template_dir` are relative to
|
||||
> directories known to the
|
||||
> [include\_path](&url.php-manual;ini.core.php#ini.include-path) you
|
||||
> [include\_path](https://www.php.net/ini.core.php#ini.include-path) you
|
||||
> need to activate the [`$use_include_path`](#variable.use.include.path)
|
||||
> option.
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
====================
|
||||
|
||||
This tells smarty to respect the
|
||||
[include\_path](&url.php-manual;ini.core.php#ini.include-path) within
|
||||
[include\_path](https://www.php.net/ini.core.php#ini.include-path) within
|
||||
the [`File Template Resource`](#resources.file) handler and the plugin
|
||||
loader to resolve the directories known to
|
||||
[`$template_dir`](#variable.template.dir). The flag also makes the
|
||||
@@ -23,14 +23,14 @@ If use\_include\_path is enabled, file discovery for
|
||||
\$plugins\_dir) do
|
||||
|
||||
- Test if requested file is in `$directory` relative to the [current
|
||||
working directory](&url.php-manual;function.getcwd.php). If file
|
||||
working directory](https://www.php.net/function.getcwd.php). If file
|
||||
found, return it.
|
||||
|
||||
- For each `$path` in include\_path do
|
||||
|
||||
- Test if requested file is in `$directory` relative to the `$path`
|
||||
(possibly relative to the [current working
|
||||
directory](&url.php-manual;function.getcwd.php)). If file found,
|
||||
directory](https://www.php.net/function.getcwd.php)). If file found,
|
||||
return it.
|
||||
|
||||
- Try default\_handler or fail.
|
||||
|
||||
@@ -19,7 +19,7 @@ almost nothing.
|
||||
> **Note**
|
||||
>
|
||||
> - `$use_sub_dirs=true` doesn\'t work with
|
||||
> [safe\_mode=On](&url.php-manual;features.safe-mode), that\'s why
|
||||
> [safe\_mode=On](https://www.php.net/features.safe-mode), that\'s why
|
||||
> it\'s switchable and why it\'s off by default.
|
||||
>
|
||||
> - `$use_sub_dirs=true` on Windows can cause problems.
|
||||
|
||||
Reference in New Issue
Block a user