lib/cms_scanner/target/platform/php.rb in cms_scanner-0.10.1 vs lib/cms_scanner/target/platform/php.rb in cms_scanner-0.11.0

- old
+ new

@@ -3,10 +3,10 @@ module CMSScanner class Target < WebSite module Platform # Some PHP specific implementation module PHP - DEBUG_LOG_PATTERN = /(?:\[\d{2}\-[a-zA-Z]{3}\-\d{4}\s\d{2}\:\d{2}:\d{2}\s[A-Z]{3}\]| + DEBUG_LOG_PATTERN = /(?:\[\d{2}-[a-zA-Z]{3}-\d{4}\s\d{2}:\d{2}:\d{2}\s[A-Z]{3}\]| PHP\s(?:Fatal|Warning|Strict|Error|Notice):)/x.freeze FPD_PATTERN = /Fatal error:.+? in (.+?) on/.freeze ERROR_LOG_PATTERN = /PHP Fatal error/i.freeze # @param [ String ] path