Skip to content
Snippets Groups Projects
Commit c7b89503 authored by Kevin von Spiczak's avatar Kevin von Spiczak
Browse files

Fix extension registration example in README.md

parent a0f17ce3
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ Additionally, you need to make your registration file known in your **ext_localc ...@@ -30,7 +30,7 @@ Additionally, you need to make your registration file known in your **ext_localc
```PHP ```PHP
// register mail templates // 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. sg_mail will automatically parse valid configuration files of all extensions within your TYPO3 instance.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment