Navigation Menu

Skip to content

Commit

Permalink
Use static url to load our module resources
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCarmen committed Jul 23, 2017
1 parent d219ba2 commit 659bb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module.php
Expand Up @@ -49,7 +49,7 @@ class FancyResearchLinksModule extends AbstractModule implements ModuleConfigInt
public function __construct() {
parent::__construct('fancy_research_links');

$this->directory = WT_MODULES_DIR . $this->getName();
$this->directory = WT_STATIC_URL . WT_MODULES_DIR . $this->getName();

// register the namespace
$loader = new ClassLoader();
Expand Down

0 comments on commit 659bb97

Please sign in to comment.