aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/docs/programmers/api-variables/variable-allow-php-templates.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/smarty/smarty/docs/programmers/api-variables/variable-allow-php-templates.md')
-rw-r--r--vendor/smarty/smarty/docs/programmers/api-variables/variable-allow-php-templates.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/smarty/smarty/docs/programmers/api-variables/variable-allow-php-templates.md b/vendor/smarty/smarty/docs/programmers/api-variables/variable-allow-php-templates.md
new file mode 100644
index 000000000..e15520e2d
--- /dev/null
+++ b/vendor/smarty/smarty/docs/programmers/api-variables/variable-allow-php-templates.md
@@ -0,0 +1,18 @@
+\$allow\_php\_templates {#variable.allow.php.templates}
+=======================
+
+By default the PHP template file resource is disabled. Setting
+`$allow_php_templates` to TRUE will enable PHP template files.
+
+::: {.informalexample}
+
+ <?php
+ $smarty->allow_php_templates = true;
+ ?>
+
+
+:::
+
+> **Note**
+>
+> The PHP template file resource is an undocumented deprecated feature.