Permalink
Browse files

fix(profile): Support composer for icondirect requests

  • Loading branch information...
ewinslow committed Jul 28, 2015
1 parent 68320e7 commit 7610552b22f203f3d2eadb1f20e28b2429e0d234
Showing with 7 additions and 1 deletion.
  1. +7 −1 mod/profile/icondirect.php
@@ -30,7 +30,13 @@
}
}
require_once __DIR__ . '/../../vendor/autoload.php';
$initialRoot = dirname(dirname(__DIR__));
$backupRoot = dirname(dirname(dirname($initialRoot)));
if (!include_once "$initialRoot/vendor/autoload.php") {
require_once "$backupRoot/vendor/autoload.php";
}
$data_root = \Elgg\Application::getDataPath();
$locator = new \Elgg\EntityDirLocator($guid);

0 comments on commit 7610552

Please sign in to comment.