Skip to content

Commit a2b13c6

Browse files
committed
Code optimizations
1 parent 40e4545 commit a2b13c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/codeElement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use BearFramework\App;
1010

1111
$app = App::get();
12-
$context = $app->contexts->get(__FILE__);
12+
$context = $app->contexts->get(__DIR__);
1313

1414
$code = (string) $component->code;
1515
$language = (string) $component->language;

0 commit comments

Comments
 (0)