Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Derkades committed Feb 2, 2023
1 parent 413a2f8 commit 0fa291e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
- Fix DefaultRevamp dropdown not respecting light/dark mode
- Fix edge case exception when no `$_active_page` is set in `Pages` class
- Fix issue with `Forum::getLatestDiscussions()` returning an array of objects randomly
- Fix missing `Constants::ROOT_PATH` definition in Phinx migration file
- Fix missing `ROOT_PATH` definition in Phinx migration file
- Fix exception when captcha provider is null
- Fix exception when `nl2_email_errors.user_id` is null while viewing logs in StaffCP
- Fix forum label types page formatting in StaffCP
Expand Down
4 changes: 0 additions & 4 deletions core/migrations/phinx.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<?php

if (!defined('Constants::ROOT_PATH')) {
define('Constants::ROOT_PATH', __DIR__ . '/../..');
}

$config = Config::get('mysql');

return [
Expand Down
1 change: 0 additions & 1 deletion dev/scripts/seeder/db_seeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
die('This script must be run from the command line.');
}

define('Constants::ROOT_PATH', __DIR__ . '/../..');
require 'vendor/autoload.php';

$classes = [
Expand Down

0 comments on commit 0fa291e

Please sign in to comment.