Skip to content
Snippets Groups Projects

Feature make standalone

Merged Georgi requested to merge feature_make_standalone into master
2 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Stefan Galinski
  • 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', '>=')) {
  • 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;
  • Stefan Galinski
  • Stefan Galinski
  • Stefan Galinski
  • Stefan Galinski
  • Stefan Galinski
  • Stefan Galinski
  • Stefan Galinski
  • Georgi added 1 commit

    added 1 commit

    Compare with previous version

  • Georgi added 1 commit

    added 1 commit

    Compare with previous version

  • Georgi added 1 commit

    added 1 commit

    Compare with previous version

  • Georgi added 1 commit

    added 1 commit

    Compare with previous version

  • Stefan Galinski mentioned in commit f11f0589

    mentioned in commit f11f0589

  • Please register or sign in to reply
    Loading