Feature make standalone
2 unresolved threads
2 unresolved threads
Merge request reports
Activity
Filter activity
assigned to @sgalinski
- Resolved by Georgi
- Resolved by Georgi
- Classes/Service/ExtensionSettingsService.php 0 → 100644
41 */ 42 protected static $defaultValueMap = [ 43 self::SETTING_FOLDER => 'fileadmin/sg_vimeo/', 44 self::SETTING_HIDE_MODULE_IN_PRODUCTION_CONTEXT => FALSE, 45 ]; 46 47 /** 48 * Returns the setting of one of the constants of this class. 49 * 50 * @param string $settingKey 51 * @return mixed 52 */ 53 public static function getSetting($settingKey) { 54 if (VersionNumberUtility::convertVersionNumberToInteger(VersionNumberUtility::getCurrentTypo3Version()) < 9000000) { 55 // the "options" parameter of unserialize exists since PHP 7.0.0 56 if (version_compare(phpversion(), '7.0.0', '>=')) { changed this line in version 4 of the diff
- Classes/Service/ExtensionSettingsService.php 0 → 100644
79 * 80 * @param mixed $value 81 * @param string $settingKey 82 * @return mixed 83 */ 84 protected static function postProcessSetting($value, $settingKey) { 85 if ($settingKey === self::SETTING_FOLDER) { 86 $value = trim($value, " \t\n\r\0\x0B\/") . '/'; 87 88 if (strpos($value, 'EXT:') === 0) { 89 $value = 'typo3conf/ext/' . substr($value, 4); 90 } 91 } 92 93 // TYPO3 6 stores all settings as strings, some are expected to be booleans, though. 94 $value = ($value === 'FALSE') ? FALSE : $value; - Resolved by Georgi
- Resolved by Georgi
- Resolved by Georgi
- Resolved by Georgi
- Resolved by Georgi
- Resolved by Georgi
- Resolved by Georgi
mentioned in commit f11f0589
Please register or sign in to reply