Update helpers

This commit is contained in:
Barry vd. Heuvel
2013-03-16 13:44:31 +01:00
parent 9a8c444af3
commit 7dc2bc7c29
4 changed files with 97 additions and 53 deletions
@@ -108,7 +108,9 @@ class GeneratorCommand extends Command {
if(!empty($helpers)){
foreach($helpers as $helper){
$output .= str_replace(array('<?php', '?>'), '', \File::get($helper));
if (file_exists($helper)){
$output .= str_replace(array('<?php', '?>'), '', \File::get($helper));
}
}
}