Skip to content

Commit 33567ce

Browse files
author
spotweb
committed
OOP-ify the signing of spots
1 parent 59971b5 commit 33567ce

11 files changed

+1748
-1705
lines changed

install.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@ function performAndPrintTests() {
9292
<tr> <td colspan="2"> JPEG Support </td> <td> <?php showResult($gdInfo['JPEG Support'] || $gdInfo['JPG Support'], true); ?> </td> </tr> <!-- Previous to PHP 5.3.0, the JPEG Support attribute was named JPG Support. -->
9393
<tr> <td colspan="2"> PNG Support </td> <td> <?php showResult($gdInfo['PNG Support'], true); ?> </td> </tr>
9494
<tr> <th colspan="3"> OpenSSL </th> </tr>
95-
<?php require_once "lib/SpotSigning.php";
96-
$spotSigning = new SpotSigning();
95+
<?php require_once "lib/services/signing/Services_Signing_Base.php";
96+
require_once "lib/services/signing/Services_Signing_Php.php";
97+
require_once "lib/services/signing/Services_Signing_Openssl.php";
98+
$spotSigning = Services_Signing_Base::newServiceSigning();
9799
$privKey = $spotSigning->createPrivateKey($settings['openssl_cnf_path']);
98100

99101
/* We need either one of those 3 extensions, so set the error flag manually */

0 commit comments

Comments
 (0)