summaryrefslogtreecommitdiff
path: root/app/ServiceProvider/ExternalLinkProvider.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-17 21:52:40 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-17 21:52:40 -0400
commite3e08d0e3436e3cf2f951321861e1a274cc2ebbd (patch)
tree1f9586d3fea3cb14a2ade8e5fc6da24df2f212f2 /app/ServiceProvider/ExternalLinkProvider.php
parent18d203225ba31e51155055d406a811a9cfba599a (diff)
Added local file link provider
Diffstat (limited to 'app/ServiceProvider/ExternalLinkProvider.php')
-rw-r--r--app/ServiceProvider/ExternalLinkProvider.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/ServiceProvider/ExternalLinkProvider.php b/app/ServiceProvider/ExternalLinkProvider.php
index c4bbc4cf..8b71ec81 100644
--- a/app/ServiceProvider/ExternalLinkProvider.php
+++ b/app/ServiceProvider/ExternalLinkProvider.php
@@ -7,6 +7,7 @@ use Pimple\ServiceProviderInterface;
use Kanboard\Core\ExternalLink\ExternalLinkManager;
use Kanboard\ExternalLink\WebLinkProvider;
use Kanboard\ExternalLink\AttachmentLinkProvider;
+use Kanboard\ExternalLink\FileLinkProvider;
/**
* External Link Provider
@@ -28,6 +29,7 @@ class ExternalLinkProvider implements ServiceProviderInterface
$container['externalLinkManager'] = new ExternalLinkManager($container);
$container['externalLinkManager']->register(new WebLinkProvider($container));
$container['externalLinkManager']->register(new AttachmentLinkProvider($container));
+ $container['externalLinkManager']->register(new FileLinkProvider($container));
return $container;
}