@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * @author Stefan Winter <[email protected]> |
27 | 27 | * @package Core |
28 | 28 | */ |
29 | -require_once dirname(dirname(dirname(__FILE__))) . "/config/_config.php"; |
|
29 | +require_once dirname(dirname(dirname(__FILE__)))."/config/_config.php"; |
|
30 | 30 | |
31 | 31 | $cleanToken = FALSE; |
32 | 32 | $invitationObject = new core\SilverbulletInvitation("INVALID"); |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | |
75 | 75 | $statusInfo = ["token" => $cleanToken, |
76 | 76 | "invitation_object" => $invitationObject, |
77 | - "OS" => $Gui->operatingSystem,]; |
|
77 | + "OS" => $Gui->operatingSystem, ]; |
|
78 | 78 | |
79 | 79 | if ($profile !== NULL) { |
80 | 80 | $attributes = $Gui->profileAttributes($profile->identifier); |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | $caAndSerial = htmlspecialchars(strip_tags($caAndSerialUnfiltered)); |
89 | 89 | |
90 | 90 | if ($action !== NULL && $action !== FALSE && $action === \web\lib\common\FormElements::BUTTON_DELETE && $caAndSerial !== NULL && $caAndSerial !== FALSE) { |
91 | - $tuple = explode(':',$caAndSerial); |
|
91 | + $tuple = explode(':', $caAndSerial); |
|
92 | 92 | $ca_type = $tuple[0]; |
93 | 93 | $serial = $tuple[1]; |
94 | 94 | if ($statusInfo['invitation_object']->invitationTokenStatus != \core\SilverbulletInvitation::SB_TOKENSTATUS_INVALID) { |
@@ -103,12 +103,12 @@ discard block |
||
103 | 103 | print "//REVOKING\n"; |
104 | 104 | $certObject = new \core\SilverbulletCertificate($serial, $ca_type); |
105 | 105 | $certObject->revokeCertificate(); |
106 | - header("Location: accountstatus.php?token=" . $statusInfo['token']); |
|
106 | + header("Location: accountstatus.php?token=".$statusInfo['token']); |
|
107 | 107 | exit; |
108 | 108 | } |
109 | 109 | } |
110 | 110 | } |
111 | - header("Location: accountstatus.php?token=" . $statusInfo['token']); |
|
111 | + header("Location: accountstatus.php?token=".$statusInfo['token']); |
|
112 | 112 | exit; |
113 | 113 | } |
114 | 114 | |
@@ -133,4 +133,4 @@ discard block |
||
133 | 133 | $skinObject = new \web\lib\user\Skinjob($_REQUEST['skin'] ?? $_SESSION['skin'] ?? $fedskin[0] ?? \config\Master::APPEARANCE['skins'][0]); |
134 | 134 | |
135 | 135 | // and now, serve actual data |
136 | -require "../skins/" . $skinObject->skin . "/accountstatus/accountstatus.php"; |
|
136 | +require "../skins/".$skinObject->skin."/accountstatus/accountstatus.php"; |