Skip to content

Commit

Permalink
PHPCS: Prefer "__DIR__"
Browse files Browse the repository at this point in the history
  • Loading branch information
JJJ committed Jun 18, 2024
1 parent b734ca9 commit 10a3de6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ludicrousdb.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
}

// Required files
require_once dirname( __FILE__ ) . '/ludicrousdb/includes/functions.php';
require_once dirname( __FILE__ ) . '/ludicrousdb/includes/class-ludicrousdb.php';
require_once __DIR__ . '/ludicrousdb/includes/functions.php';
require_once __DIR__ . '/ludicrousdb/includes/class-ludicrousdb.php';

// Set default constants
ldb_default_constants();
Expand Down

0 comments on commit 10a3de6

Please sign in to comment.