Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes logic from Settings.php #8266

Conversation

Sesquipedalian
Copy link
Member

@Sesquipedalian Sesquipedalian commented Jun 30, 2024

Removes path correction code from Settings.php, because SMF\Config::set() handles the job of making sure directory paths are correct.

Moves error catching code out of Settings.php into a new SMF\Config::getDbLastError() method, which handles loading Config::$db_last_error from the db_last_error.php file.

SMF\Config::set() now handles the job of making sure directory paths are correct.

Signed-off-by: Jon Stovell <[email protected]>
@Sesquipedalian Sesquipedalian changed the title Removes path correction code from Settings.php Removes logic from Settings.php Jul 1, 2024
@Sesquipedalian Sesquipedalian deleted the path_correction_code branch July 1, 2024 16:03
@Sesquipedalian Sesquipedalian removed this from the 3.0 Alpha 3 milestone Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant