Skip to content

Commit

Permalink
Removed test.php filename
Browse files Browse the repository at this point in the history
  • Loading branch information
retgef committed Feb 9, 2012
1 parent 3082222 commit 157684f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugin-generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ protected function generate_plugin_contents(){

protected function export_file(){
header('Content-type: application/php charset=utf-8');
header('Content-Disposition: attachment; filename="test.php"');
header('Content-Disposition: attachment; filename="'.$this->id.'.php"');
echo $this->file_contents;
}
Expand Down

0 comments on commit 157684f

Please sign in to comment.