Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F391260
smarty_method_addpluginsdir.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
505 B
Subscribers
None
smarty_method_addpluginsdir.php
View Options
<?php
/**
* Smarty method addPluginsDir
*
* Adds directory of plugin files
*
* @package Smarty
* @subpackage SmartyMethod
* @author Uwe Tews
*/
/**
* Adds directory of plugin files
*
* @param object $smarty
* @param string $ |array $ plugins folder
* @return
*/
function
Smarty_Method_AddPluginsDir
(
$smarty
,
$plugins_dir
)
{
$smarty
->
plugins_dir
=
array_merge
((
array
)
$smarty
->
plugins_dir
,
(
array
)
$plugins_dir
);
$smarty
->
plugins_dir
=
array_unique
(
$smarty
->
plugins_dir
);
return
;
}
?>
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Feb 22, 20:21 (20 h, 25 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25903
Default Alt Text
smarty_method_addpluginsdir.php (505 B)
Attached To
rZED Zed
Event Timeline
Log In to Comment