mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 03:24:20 +02:00
Added option to use a custom plugin folder for media-manager image uploads. ie. writeParms => array('path'=>'plugin');
This commit is contained in:
@@ -890,16 +890,21 @@ class e_form
|
||||
$url .= "&w=".$extras['w'];
|
||||
}
|
||||
|
||||
if(vartrue($extras['glyphs']))
|
||||
if(!empty($extras['glyphs']))
|
||||
{
|
||||
$url .= "&glyphs=1";
|
||||
}
|
||||
|
||||
if(vartrue($extras['video']))
|
||||
if(!empty($extras['video']))
|
||||
{
|
||||
$url .= "&video=1";
|
||||
}
|
||||
|
||||
if(!empty($extras['path']) && $extras['path'] == 'plugin')
|
||||
{
|
||||
$url .= "&path=".deftrue('e_CURRENT_PLUGIN');
|
||||
}
|
||||
|
||||
if(E107_DBG_BASIC)
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user