Skip to content

Commit 0c3a4bd

Browse files
committed
Update index.php
1 parent 3c19b32 commit 0c3a4bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
$app->bearCMS->addons
1515
->register('bearcms/code-element-addon', function (\BearCMS\Addons\Addon $addon) use ($app) {
1616
$addon->initialize = function () use ($app) {
17-
$context = $app->contexts->get(__FILE__);
17+
$context = $app->contexts->get(__DIR__);
1818

1919
$context->assets->addDir('assets');
2020

0 commit comments

Comments
 (0)