PHP Classes

File: htdocs/xoops_lib/vendor/smarty/smarty/docs/programmers/api-variables/variable-allow-php-templates.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-allow-php-templates.md   Download  
File: htdocs/xoops_lib/vendor/smarty/smarty/docs/programmers/api-variables/variable-allow-php-templates.md
Role: Example script
Content type: text/markdown
Description: Example script
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change:
Date: 3 months ago
Size: 394 bytes
 

Contents

Class file image Download

\$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.