aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/docs/programmers/api-variables/variable-default-resource-type.md
blob: e8a80317859f1eba815ea07c6c87e198368823bf (plain) (blame)
1
2
3
4
5
6
7
\$default\_resource\_type {#variable.default.resource.type}
=========================

This tells smarty what resource type to use implicitly. The default
value is `file`, meaning that `$smarty->display('index.tpl')` and
`$smarty->display('file:index.tpl')` are identical in meaning. See the
[resource](#resources) chapter for more details.