@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | { |
| 55 | 55 | $CSRInfo = $this->decodeCSR(); |
| 56 | 56 | $domain = $CSRInfo['subject']['CN']; |
| 57 | - $URL = 'http://' . $domain . "/" . $this->getmd5() . '.txt'; |
|
| 57 | + $URL = 'http://'.$domain."/".$this->getmd5().'.txt'; |
|
| 58 | 58 | |
| 59 | 59 | $client = new Client(); |
| 60 | 60 | |
@@ -64,13 +64,13 @@ discard block |
||
| 64 | 64 | return false; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | - $responce = "" . $request->getBody(); |
|
| 67 | + $responce = "".$request->getBody(); |
|
| 68 | 68 | return ($responce === $this->generateDVC()); |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | public function generateDVC() |
| 72 | 72 | { |
| 73 | - $DVC = $this->getSHA1() . "\n"; |
|
| 73 | + $DVC = $this->getSHA1()."\n"; |
|
| 74 | 74 | $DVC .= "comodoca.com\n"; |
| 75 | 75 | |
| 76 | 76 | return $DVC; |
@@ -7,4 +7,4 @@ |
||
| 7 | 7 | * @link https://github.com/XigenChris/ComodoDecodeCSR |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | -require __DIR__ . '/../vendor/autoload.php'; |
|
| 10 | +require __DIR__.'/../vendor/autoload.php'; |
|