Permalink
Browse files

Removed php start and end tags from view file output

  • Loading branch information...
1 parent 03a8d79 commit d9827b353587f98d25bccefc97d659bb3fc6c87d @dyster dyster committed Jan 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 console/command/create/View.php
@@ -81,7 +81,7 @@ protected function _save(array $params = array()) {
return "{$params['file']} skipped.";
}
}
- if (file_put_contents($file, "<?php\n\n{$result}\n\n?>")) {
+ if (file_put_contents($file, $result)) {
return "{$params['file']}.php created in {$directory}.";
}
}

0 comments on commit d9827b3

Please sign in to comment.