Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
Now are sorting payload array in config.rb. That way, at least the fi…
Browse files Browse the repository at this point in the history
…letypes hash will be sorted for Ruby 1.9+ users.
  • Loading branch information
chrisallenlane committed May 3, 2012
1 parent 3e9525a commit 14b343c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.rb
Expand Up @@ -58,7 +58,7 @@
'./payloads/js.rb',
'./payloads/sql.rb',
# './payloads/wordpress.rb',
],
].sort,
}


Expand Down
1 change: 0 additions & 1 deletion payloads/php.rb
Expand Up @@ -87,5 +87,4 @@
$payloads[:php][:form_data] = php_payloads[:form_data]
$payloads[:php][:globals] = php_payloads[:globals]
$payloads[:php][:developer_notes] = php_payloads[:developer_notes]
$payloads[:php][:wordpress_specific] = php_payloads[:wordpress_specific]
$payloads[:php][:custom_strings] = php_payloads[:custom_strings]
1 change: 1 addition & 0 deletions payloads/wordpress.rb
Expand Up @@ -395,6 +395,7 @@
wpmu_welcome_user_notification
]

# verify that the array has been initialized
$payloads[:php] ||= {}
$payloads[:php][:wordpress] ||= []

Expand Down

0 comments on commit 14b343c

Please sign in to comment.