Index: typo3/sysext/scheduler/ext_localconf.php =================================================================== --- typo3/sysext/scheduler/ext_localconf.php (Revision 8574) +++ typo3/sysext/scheduler/ext_localconf.php (Arbeitskopie) @@ -5,28 +5,30 @@ die ('Access denied.'); } - // Register the Scheduler as a possible key for CLI calls -$TYPO3_CONF_VARS['SC_OPTIONS']['GLOBAL']['cliKeys'][$_EXTKEY] = array( - 'EXT:' . $_EXTKEY . '/cli/scheduler_cli_dispatch.php', '_CLI_scheduler' -); +if (TYPO3_MODE == 'BE') { + // Register the Scheduler as a possible key for CLI calls + $TYPO3_CONF_VARS['SC_OPTIONS']['GLOBAL']['cliKeys'][$_EXTKEY] = array( + 'EXT:' . $_EXTKEY . '/cli/scheduler_cli_dispatch.php', '_CLI_scheduler' + ); - // Get the extensions's configuration -$extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['scheduler']); + // Get the extensions's configuration + $extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['scheduler']); - // If sample tasks should be shown, - // register information for the test and sleep tasks -if (!empty($extConf['showSampleTasks'])) { - $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_scheduler_TestTask'] = array( - 'extension' => $_EXTKEY, - 'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xml:testTask.name', - 'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xml:testTask.description', - 'additionalFields' => 'tx_scheduler_TestTask_AdditionalFieldProvider' - ); - $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_scheduler_SleepTask'] = array( - 'extension' => $_EXTKEY, - 'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xml:sleepTask.name', - 'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xml:sleepTask.description', - 'additionalFields' => 'tx_scheduler_SleepTask_AdditionalFieldProvider' - ); + // If sample tasks should be shown, + // register information for the test and sleep tasks + if (!empty($extConf['showSampleTasks'])) { + $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_scheduler_TestTask'] = array( + 'extension' => $_EXTKEY, + 'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xml:testTask.name', + 'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xml:testTask.description', + 'additionalFields' => 'tx_scheduler_TestTask_AdditionalFieldProvider' + ); + $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_scheduler_SleepTask'] = array( + 'extension' => $_EXTKEY, + 'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xml:sleepTask.name', + 'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xml:sleepTask.description', + 'additionalFields' => 'tx_scheduler_SleepTask_AdditionalFieldProvider' + ); + } } ?> \ Kein Zeilenvorschub am Ende der Datei Index: typo3/sysext/scheduler/ext_emconf.php =================================================================== --- typo3/sysext/scheduler/ext_emconf.php (Revision 8574) +++ typo3/sysext/scheduler/ext_emconf.php (Arbeitskopie) @@ -21,7 +21,7 @@ 'priority' => '', 'loadOrder' => '', 'module' => 'mod1', - 'doNotLoadInFE' => 1, + 'doNotLoadInFE' => 0, 'state' => 'stable', 'uploadfolder' => 0, 'createDirs' => '',