Skip to content

Commit dec3456

Browse files
committed
Fixing compiler env
1 parent 37585f6 commit dec3456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Env.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public static function search($expression, $data)
4242
*/
4343
public static function createRuntime()
4444
{
45-
$compileDir = getenv('COMPILE_DIR');
45+
$compileDir = getenv(self::COMPILE_DIR);
4646
switch ($compileDir) {
4747
case false: return new AstRuntime();
4848
case 'on': return new CompilerRuntime();

0 commit comments

Comments
 (0)