Skip to content

Commit

Permalink
Adds $backward_compatibility to Settings.php
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Stovell <[email protected]>
  • Loading branch information
Sesquipedalian committed Jul 2, 2024
1 parent 627cc91 commit 32b1fba
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 7 deletions.
28 changes: 21 additions & 7 deletions Sources/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ class Config
* Public static properties
**************************/

/**
* @var bool
*
* Master switch to enable backward compatibility behaviours.
*/
public static bool $backward_compatibility = true;

########## Maintenance ##########
/**
* @var int 0, 1, 2
Expand Down Expand Up @@ -254,6 +247,14 @@ class Config
*/
public static string $tasksdir;

######### Modification Support #########
/**
* @var bool
*
* Master switch to enable backward compatibility behaviours.
*/
public static bool $backward_compatibility = true;

######### Legacy settings #########
/**
* @var string
Expand Down Expand Up @@ -777,6 +778,19 @@ class Config
'raw_default' => true,
'type' => 'string',
],
'backward_compatibility' => [
'text' => <<<'END'
######### Modification Support #########
/**
* @var bool
*
* Master switch to enable backward compatibility behaviours.
*/
END,
'default' => true,
'type' => 'boolean',
],
'db_character_set' => [
'text' => <<<'END'
Expand Down
8 changes: 8 additions & 0 deletions other/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,14 @@
*/
$languagesdir = dirname(__FILE__) . '/Languages';

######### Modification Support #########
/**
* @var bool
*
* Master switch to enable backward compatibility behaviours.
*/
$backward_compatibility = true;

######### Legacy Settings #########
/**
* @var string
Expand Down
8 changes: 8 additions & 0 deletions other/Settings_bak.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,14 @@
*/
$languagesdir = dirname(__FILE__) . '/Languages';

######### Modification Support #########
/**
* @var bool
*
* Master switch to enable backward compatibility behaviours.
*/
$backward_compatibility = true;

######### Legacy Settings #########
/**
* @var string
Expand Down

0 comments on commit 32b1fba

Please sign in to comment.