-) Bugfixing

-) Added HTTP 500 Status code, since this means there is a file and php encountered an error on execution
This commit is contained in:
Christian Mehlmauer
2012-09-15 23:37:15 +02:00
parent 6565466c85
commit 0eaef9cd69
2 changed files with 2 additions and 1 deletions

View File

@@ -74,7 +74,7 @@ class WpTarget
# Valid HTTP return codes
def self.valid_response_codes
[200, 403, 301, 302]
[200, 403, 301, 302, 500]
end
# return WpTheme

View File

@@ -93,6 +93,7 @@ class Svn_Parser
end
# Get a file in each directory
# TODO: exclude files like Thumbs.db (Example: wordpress-23-related-posts-plugin/)
def get_svn_file_entries(dirs)
entries = []
queue_count = 0