We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c19b32 commit 0c3a4bdCopy full SHA for 0c3a4bd
index.php
@@ -14,7 +14,7 @@
14
$app->bearCMS->addons
15
->register('bearcms/code-element-addon', function (\BearCMS\Addons\Addon $addon) use ($app) {
16
$addon->initialize = function () use ($app) {
17
- $context = $app->contexts->get(__FILE__);
+ $context = $app->contexts->get(__DIR__);
18
19
$context->assets->addDir('assets');
20
0 commit comments