Permalink
Browse files

Now are sorting payload array in config.rb. That way, at least the fi…

…letypes hash will be sorted for Ruby 1.9+ users.
  • Loading branch information...
1 parent 3e9525a commit 14b343cf876916ce8e15708d86575b9c2d6b4ced @chrisallenlane committed May 3, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 config.rb
  2. +0 −1 payloads/php.rb
  3. +1 −0 payloads/wordpress.rb
View
@@ -58,7 +58,7 @@
'./payloads/js.rb',
'./payloads/sql.rb',
# './payloads/wordpress.rb',
- ],
+ ].sort,
}
View
@@ -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]
View
@@ -395,6 +395,7 @@
wpmu_welcome_user_notification
]
+# verify that the array has been initialized
$payloads[:php] ||= {}
$payloads[:php][:wordpress] ||= []

0 comments on commit 14b343c

Please sign in to comment.