Commit c7b89503 authored by Kevin von Spiczak's avatar Kevin von Spiczak
Browse files

Fix extension registration example in README.md

parent a0f17ce3
......@@ -30,7 +30,7 @@ Additionally, you need to make your registration file known in your **ext_localc
```PHP
// register mail templates
$GLOBALS['sg_mail']['my_extension_key']['unique_template_name'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('my_extension_key') . '/Configuration/SgMail/MyTemplate.php';
$GLOBALS['sg_mail']['my_extension_key']['unique_template_name'] = 'EXT:my_extension_key/Configuration/SgMail/MyTemplate.php';
```
sg_mail will automatically parse valid configuration files of all extensions within your TYPO3 instance.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment