Skip to content

Commit

Permalink
fix: execute listfolders from any directory
Browse files Browse the repository at this point in the history
References: Issue #63
  • Loading branch information
grammmichi committed Sep 13, 2022
1 parent 57cb178 commit d1fa51b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/grommunio/listfolders.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ function listfolders_configure() {
exit(1);
}

set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__, 3) . '/');

require 'mapi/mapi.util.php';
require 'mapi/mapidefs.php';
require 'mapi/mapitags.php';
Expand Down

0 comments on commit d1fa51b

Please sign in to comment.