We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a62265 commit 0b7e833Copy full SHA for 0b7e833
src/Compiler.php
@@ -165,7 +165,7 @@ public function __construct()
165
public function compile($code, $path = null)
166
{
167
if(is_file($code)){
168
- $this->setImportPaths(basename($code));
+ $this->setImportPaths(dirname($code));
169
$code=file_get_contents($code);
170
}
171
$locale = setlocale(LC_NUMERIC, 0);
0 commit comments