Skip to content

Commit

Permalink
Merge pull request #15 from roots/use-WPMU_PLUGIN_DIR-in-path
Browse files Browse the repository at this point in the history
Use WPMU_PLUGIN_DIR
  • Loading branch information
retlehs authored May 16, 2020
2 parents dca4136 + e55ddd1 commit e1c980e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct()

self::$instance = $this;

$this->relativePath = '/../' . basename(__DIR__);
$this->relativePath = '/../' . basename(WPMU_PLUGIN_DIR);

if (is_admin()) {
add_filter('show_advanced_plugins', [$this, 'showInAdmin'], 0, 2);
Expand Down

0 comments on commit e1c980e

Please sign in to comment.