Skip to content

Commit

Permalink
Merge pull request #343 from ankush-maherwal/joomla-4
Browse files Browse the repository at this point in the history
Task #173069 feat: Update infra extensions code used in JGive to make…
  • Loading branch information
ankush-maherwal authored Dec 8, 2021
2 parents 3e9652d + 1473ff0 commit 49e604e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions administrator/models/fields/tjfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Form\FormHelper;

FormHelper::loadFieldClass('file');
JLoader::import("/techjoomla/media/storage/local", JPATH_LIBRARIES);

/**
Expand All @@ -25,15 +26,15 @@
* @link http://www.w3.org/TR/html-markup/input.file.html#input.file
* @since 11.1
*/
class JFormFieldFile extends FormField
class JFormFieldTjFile extends JFormFieldFile
{
/**
* The form field type.
*
* @var string
* @since 11.1
*/
protected $type = 'File';
protected $type = 'Tjfile';

/**
* The accepted file type list.
Expand Down

0 comments on commit 49e604e

Please sign in to comment.