We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7846ca commit cdc13dfCopy full SHA for cdc13df
src/core/TawktoGenerator.php
@@ -2,8 +2,8 @@
2
3
namespace Drupal\tawk_to\core;
4
5
-if (file_exists(drupal_get_path('module', 'tawk_to') . '/vendor/autoload.php')) {
6
- require_once drupal_get_path('module', 'tawk_to') . '/vendor/autoload.php';
+if (file_exists(__DIR__ . '/../../vendor/autoload.php')) {
+ require_once __DIR__ . '/../../vendor/autoload.php';
7
}
8
9
use Drupal\Core\Cache\Cache;
0 commit comments