1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-09 08:17:12 +02:00
This commit is contained in:
Ryan Cramer
2022-03-18 08:47:37 -04:00
parent 83019b173b
commit 3280507bec
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ class FieldtypeFileConfiguration extends Wire {
$this->getConfigInputfieldsOutputFormat($field, $fs);
require_once($this->wire()->config->paths->modules . 'Inputfield/InputfieldFile/config.php');
require_once($this->wire()->config->paths('InputfieldFile') . 'config.php');
$configuration = new InputfieldFileConfiguration();
$this->wire($configuration);
$descriptionFieldset = $configuration->getConfigInputfieldsDescription($field);

View File

@@ -1411,7 +1411,7 @@ class InputfieldFile extends Inputfield implements InputfieldItemList, Inputfiel
*/
public function ___getConfigInputfields() {
$inputfields = parent::___getConfigInputfields();
require_once(__DIR__ . '/config.php');
require_once($this->wire()->config->paths('InputfieldFile') . 'config.php');
$configuration = new InputfieldFileConfiguration();
$this->wire($configuration);
$configuration->getConfigInputfields($this, $inputfields);