1
0
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:
Cameron
2016-12-06 19:24:48 -08:00
parent b9a331f15f
commit f203ed7bd5
4 changed files with 52 additions and 19 deletions

View File

@@ -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)
{