Skip to content

Commit

Permalink
minor fix exception namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jimthunderbird committed Feb 2, 2015
1 parent 482ae7c commit f1848a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_extensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
$classFileDir = strtolower(str_replace("\\","/",$analyser->getNamespaceOfClass($class)));
shell_exec("mkdir -p ".$zephirNamespace."/".$classFileDir);
if (!is_readable($zephirNamespace."/".$classFileDir)) {
throw new \PHPtoCExt\PHPtoCExtException("Fail to create directory ".$classFileDir);
throw new PHPtoCExt\PHPtoCExtException("Fail to create directory ".$classFileDir);
}
$classFileName = $zephirNamespace."/".$classFileDir."/".$analyser->getClassNameWithoutNamespace($class).".php";
file_put_contents($classFileName, "<?php\n".$classCode);
Expand Down

0 comments on commit f1848a1

Please sign in to comment.