@@ -46,12 +46,12 @@ discard block |
||
46 | 46 | // SELECT -> returns resource, not a boolean |
47 | 47 | while ($oneAffectedPayload = mysqli_fetch_object(/** @scrutinizer ignore-type */ $affectedPayloads)) { |
48 | 48 | if ($oneAffectedPayload->option_lang !== NULL) { |
49 | - echo "[SKIP] The option in row " . $oneAffectedPayload->row . " of table $tableName appears to be converted already. Not touching it.\n"; |
|
49 | + echo "[SKIP] The option in row ".$oneAffectedPayload->row." of table $tableName appears to be converted already. Not touching it.\n"; |
|
50 | 50 | continue; |
51 | 51 | } |
52 | 52 | $decoded = unserialize($oneAffectedPayload->option_value); |
53 | 53 | if ($decoded === FALSE || !isset($decoded["lang"]) || !isset($decoded['content'])) { |
54 | - echo "[WARN] Please check row " . $oneAffectedPayload->row . " of table $tableName - this entry did not successfully unserialize() even though it is a multi-lang attribute!\n"; |
|
54 | + echo "[WARN] Please check row ".$oneAffectedPayload->row." of table $tableName - this entry did not successfully unserialize() even though it is a multi-lang attribute!\n"; |
|
55 | 55 | continue; |
56 | 56 | } |
57 | 57 | // pry apart lang and content into their own columns |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | $row = $oneAffectedPayload->row; |
61 | 61 | $rewrittenPayload = $dbInstance->exec("UPDATE $tableName SET option_lang = ?, option_value = ? WHERE row = ?", "ssi", $theLang, $theContent, $row); |
62 | 62 | if ($rewrittenPayload !== FALSE) { |
63 | - echo "[ OK ] " . $oneAffectedPayload->option_value . " ---> $theLang # $theContent\n"; |
|
63 | + echo "[ OK ] ".$oneAffectedPayload->option_value." ---> $theLang # $theContent\n"; |
|
64 | 64 | continue; |
65 | 65 | } |
66 | 66 | echo "[FAIL] Unknown error executing the payload update for row $row of table $tableName. Did you run the 'ALTER TABLE' statements?\n"; |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | |
84 | 84 | $rewrittenPayload = $dbInstance->exec("UPDATE institution_option SET option_value = ? WHERE row = ?", "si", $newstyle, $row); |
85 | 85 | if ($rewrittenPayload !== FALSE) { |
86 | - echo "[ OK ] " . $oneAffectedPayload->option_value . " ---> $newstyle\n"; |
|
86 | + echo "[ OK ] ".$oneAffectedPayload->option_value." ---> $newstyle\n"; |
|
87 | 87 | continue; |
88 | 88 | } |
89 | 89 | echo "[FAIL] Unknown error executing the payload update for row $row of table institution_option.\n"; |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | $conditionString = "WHERE "; |
97 | 97 | $typeString = ""; |
98 | 98 | foreach ($eap_options as $index => $name) { |
99 | - $conditionString .= ($index == 0 ? "" : "OR ") . "option_name = ? "; |
|
99 | + $conditionString .= ($index == 0 ? "" : "OR ")."option_name = ? "; |
|
100 | 100 | $typeString .= "s"; |
101 | 101 | } |
102 | 102 | $idpWideOptionsQuery = $dbInstance->exec("SELECT institution_id, option_name, option_lang, option_value FROM institution_option $conditionString", $typeString, $eap_options[0], $eap_options[1]); |
@@ -105,11 +105,11 @@ discard block |
||
105 | 105 | |
106 | 106 | while ($oneAttrib = mysqli_fetch_object(/** @scrutinizer ignore-type */ $idpWideOptionsQuery)) { |
107 | 107 | if (!isset($profiles[$oneAttrib->institution_id])) { |
108 | - $idp = new \core\IdP((int)$oneAttrib->institution_id); |
|
108 | + $idp = new \core\IdP((int) $oneAttrib->institution_id); |
|
109 | 109 | $profiles[$oneAttrib->institution_id] = ['IdP' => $idp, 'Profiles' => $idp->listProfiles()]; |
110 | - echo "Debug: IdP " . $idp->identifier . " has profiles "; |
|
110 | + echo "Debug: IdP ".$idp->identifier." has profiles "; |
|
111 | 111 | foreach ($profiles[$oneAttrib->institution_id]['Profiles'] as $oneProfileObject) { |
112 | - echo $oneProfileObject->identifier . " "; |
|
112 | + echo $oneProfileObject->identifier." "; |
|
113 | 113 | } |
114 | 114 | echo "\n"; |
115 | 115 | } |
@@ -121,12 +121,12 @@ discard block |
||
121 | 121 | foreach ($relevantAttributes as $relevantAttribute) { |
122 | 122 | if ($relevantAttribute['level'] == 'Profile') { |
123 | 123 | $hasOnProfileLevel = TRUE; |
124 | - echo "[SKIP] EAP option " . $oneAttrib->option_name . " for IdP " . $profiles[$oneAttrib->institution_id]['IdP']->name . " (ID " . $profiles[$oneAttrib->institution_id]['IdP']->identifier . "), profile " . $oneProfileObject->name . " (ID " . $oneProfileObject->identifier . ") because Profile has EAP override.\n"; |
|
124 | + echo "[SKIP] EAP option ".$oneAttrib->option_name." for IdP ".$profiles[$oneAttrib->institution_id]['IdP']->name." (ID ".$profiles[$oneAttrib->institution_id]['IdP']->identifier."), profile ".$oneProfileObject->name." (ID ".$oneProfileObject->identifier.") because Profile has EAP override.\n"; |
|
125 | 125 | } |
126 | 126 | } |
127 | 127 | if ($hasOnProfileLevel === FALSE) { // only add if profile didn't previously override IdP wide anyway! |
128 | 128 | $oneProfileObject->addAttribute($oneAttrib->option_name, $oneAttrib->option_lang, $oneAttrib->option_value); |
129 | - echo "[OK ] Added profile EAP option " . $oneAttrib->option_name . " for IdP " . $profiles[$oneAttrib->institution_id]['IdP']->name . " (ID " . $profiles[$oneAttrib->institution_id]['IdP']->identifier . "), profile " . $oneProfileObject->name . " (ID " . $oneProfileObject->identifier . ").\n"; |
|
129 | + echo "[OK ] Added profile EAP option ".$oneAttrib->option_name." for IdP ".$profiles[$oneAttrib->institution_id]['IdP']->name." (ID ".$profiles[$oneAttrib->institution_id]['IdP']->identifier."), profile ".$oneProfileObject->name." (ID ".$oneProfileObject->identifier.").\n"; |
|
130 | 130 | } |
131 | 131 | } |
132 | 132 | } |
@@ -136,5 +136,5 @@ discard block |
||
136 | 136 | $optLang = $oneAttrib->option_lang; |
137 | 137 | $optValue = $oneAttrib->option_value; |
138 | 138 | $deletionQuery = $dbInstance->exec("DELETE FROM institution_option WHERE institution_id = ? AND option_name = ? and option_lang = ? and option_value = ?", "isss", $instId, $optName, $optLang, $optValue); |
139 | - echo "[OK ] Deleted IdP-wide EAP option $optName for IdP " . $profiles[$instId]['IdP']->name . " (ID " . $profiles[$instId]['IdP']->identifier . ").\n"; |
|
139 | + echo "[OK ] Deleted IdP-wide EAP option $optName for IdP ".$profiles[$instId]['IdP']->name." (ID ".$profiles[$instId]['IdP']->identifier.").\n"; |
|
140 | 140 | } |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | exec("openssl ocsp -reqin $derFilePath -req_text", $output, $retval); |
110 | 110 | |
111 | 111 | if ($retval !== 0) { |
112 | - instantDeath("openssl ocsp returned a non-zero return code. The DER data is probably bogus. B64 representation of DER data is: " . base64_encode($ocspRequestDer)); |
|
112 | + instantDeath("openssl ocsp returned a non-zero return code. The DER data is probably bogus. B64 representation of DER data is: ".base64_encode($ocspRequestDer)); |
|
113 | 113 | } |
114 | 114 | if ($output === NULL) { // this can't really happen, but makes Scrutinizer happier |
115 | 115 | $output = []; |
@@ -139,14 +139,14 @@ discard block |
||
139 | 139 | * back (if we have it). |
140 | 140 | */ |
141 | 141 | if (strcasecmp($nameHash, OUR_NAME_HASH) != 0 || strcasecmp($keyHash, OUR_KEY_HASH) != 0) { |
142 | - instantDeath("The request is about a different Issuer name / public key. Expected vs. actual name hash: " . OUR_NAME_HASH . " / $nameHash, " . OUR_KEY_HASH . " / $keyHash"); |
|
142 | + instantDeath("The request is about a different Issuer name / public key. Expected vs. actual name hash: ".OUR_NAME_HASH." / $nameHash, ".OUR_KEY_HASH." / $keyHash"); |
|
143 | 143 | } |
144 | -error_log("base64-encoded request: " . base64_encode($ocspRequestDer)); |
|
144 | +error_log("base64-encoded request: ".base64_encode($ocspRequestDer)); |
|
145 | 145 | |
146 | -$response = fopen(__DIR__ . "/statements/" . $serialHex . ".der", "r"); |
|
146 | +$response = fopen(__DIR__."/statements/".$serialHex.".der", "r"); |
|
147 | 147 | if ($response === FALSE) { // not found |
148 | 148 | // first lets load the unauthorised response, which is the default reply |
149 | - $unauthResponse = fopen(__DIR__ . "/statements/UNAUTHORIZED.der", "r"); |
|
149 | + $unauthResponse = fopen(__DIR__."/statements/UNAUTHORIZED.der", "r"); |
|
150 | 150 | if ($unauthResponse === FALSE) { |
151 | 151 | instantDeath("Unable to open our canned UNAUTHORIZED response!"); |
152 | 152 | } |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | |
189 | 189 | $responseContent = fread($response, 1000000); |
190 | 190 | fclose($response); |
191 | -error_log("base64-encoded response: " . base64_encode($responseContent)); |
|
191 | +error_log("base64-encoded response: ".base64_encode($responseContent)); |
|
192 | 192 | header('Content-Type: application/ocsp-response'); |
193 | -header('Content-Length: ' . strlen($responseContent)); |
|
193 | +header('Content-Length: '.strlen($responseContent)); |
|
194 | 194 | echo $responseContent; |
@@ -24,6 +24,6 @@ |
||
24 | 24 | /** |
25 | 25 | * This script deletes obsolete directories from installer cache and siverbullet directory |
26 | 26 | */ |
27 | -require_once dirname(dirname(__FILE__)) . "/config/_config.php"; |
|
27 | +require_once dirname(dirname(__FILE__))."/config/_config.php"; |
|
28 | 28 | |
29 | 29 | web\lib\admin\Maintenance::deleteObsoleteTempDirs(); |
@@ -42,7 +42,7 @@ |
||
42 | 42 | $certObject->triggerNewOCSPStatement(); |
43 | 43 | } |
44 | 44 | |
45 | - /* |
|
45 | + /* |
|
46 | 46 | * and then writes all recently updated statements to a temporary directory. The |
47 | 47 | * calling script ocsp_update.sh should then scp all the files to their |
48 | 48 | * destination. |
@@ -28,11 +28,11 @@ discard block |
||
28 | 28 | * It works on two CAs, the RSA and ECDSA variant. There is a separate temp |
29 | 29 | * subdir for both ( temp_ocsp_RSA and temp_ocsp_ECDSA ). |
30 | 30 | */ |
31 | -require_once dirname(dirname(__FILE__)) . "/config/_config.php"; |
|
32 | -if (file_exists(__DIR__ . "/semaphore")) { |
|
31 | +require_once dirname(dirname(__FILE__))."/config/_config.php"; |
|
32 | +if (file_exists(__DIR__."/semaphore")) { |
|
33 | 33 | exit(1); // another instance is still busy doing stuff. Don't interfere. |
34 | 34 | } |
35 | -file_put_contents(__DIR__ . "/semaphore", "BUSY"); |
|
35 | +file_put_contents(__DIR__."/semaphore", "BUSY"); |
|
36 | 36 | $dbLink = \core\DBConnection::handle("INST"); |
37 | 37 | $allSerials = $dbLink->exec("SELECT serial_number, ca_type FROM silverbullet_certificate WHERE serial_number IS NOT NULL AND expiry > NOW() AND OCSP_timestamp < DATE_SUB(NOW(), INTERVAL 1 WEEK)"); |
38 | 38 | // SELECT query -> always returns a mysql_result, not boolean |
@@ -58,8 +58,8 @@ discard block |
||
58 | 58 | # echo "Writing OCSP statement for serial number $statementRow->serial_number\n"; |
59 | 59 | $filename = strtoupper(dechex($statementRow->serial_number)).".der"; |
60 | 60 | if (strlen($filename) % 2 == 1) { |
61 | - $filename = "0" . $filename; |
|
61 | + $filename = "0".$filename; |
|
62 | 62 | } |
63 | 63 | file_put_contents($tempdirBase."_".$statementRow->ca_type."/".$filename, $statementRow->OCSP); |
64 | 64 | } |
65 | -unlink(__DIR__ . "/semaphore"); |
|
66 | 65 | \ No newline at end of file |
66 | +unlink(__DIR__."/semaphore"); |
|
67 | 67 | \ No newline at end of file |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | |
22 | 22 | // please run this as a cron job every hour |
23 | 23 | |
24 | -require_once dirname(dirname(__FILE__)) . "/config/_config.php"; |
|
24 | +require_once dirname(dirname(__FILE__))."/config/_config.php"; |
|
25 | 25 | |
26 | 26 | // iterate through all federations and see if there are recently expired |
27 | 27 | // invitations for any of them |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | $admins = $this_fed->listFederationAdmins(); |
56 | 56 | $mailtext = "Hello, |
57 | 57 | |
58 | -invitation tokens for the following new ". CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution'] ." have recently expired: |
|
58 | +invitation tokens for the following new ". CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']." have recently expired: |
|
59 | 59 | |
60 | 60 | "; |
61 | 61 | foreach ($listofinstnames as $instname) { |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | if ($numberofexistingidps > 0) { |
66 | 66 | $mailtext .= " |
67 | 67 | |
68 | -Additionally, $numberofexistingidps invitations for an existing ". CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']." have expired. |
|
68 | +Additionally, $numberofexistingidps invitations for an existing ".CONFIG_CONFASSISTANT['CONSORTIUM']['nomenclature_institution']." have expired. |
|
69 | 69 | "; |
70 | 70 | } |
71 | 71 | $mailtext .= " |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | |
74 | 74 | Greetings, |
75 | 75 | |
76 | -A humble " . CONFIG['APPEARANCE']['productname'] . " cron job |
|
76 | +A humble " . CONFIG['APPEARANCE']['productname']." cron job |
|
77 | 77 | "; |
78 | 78 | |
79 | 79 | foreach ($admins as $admin) { |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * @package Core |
27 | 27 | */ |
28 | 28 | |
29 | -require_once dirname(dirname(__FILE__)) . "/config/_config.php"; |
|
29 | +require_once dirname(dirname(__FILE__))."/config/_config.php"; |
|
30 | 30 | |
31 | 31 | $validator = new \web\lib\common\InputValidation(); |
32 | 32 |
@@ -50,19 +50,19 @@ discard block |
||
50 | 50 | |
51 | 51 | array_push($FAQ, [ |
52 | 52 | 'title' => sprintf(_("Is it safe to use %s installers?"), CONFIG['APPEARANCE']['productname']), |
53 | - 'text' => sprintf(_("%s installers configure security settings on your device, therefore you should be sure that you are using genuine ones."), CONFIG['APPEARANCE']['productname']) . ' ' . ( isset(CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name']) && CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name'] != "" ? sprintf(_("This is why %s installers are digitally signed by %s. Watch out for a system message confirming this."), CONFIG['APPEARANCE']['productname'], CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name']) : ""), |
|
53 | + 'text' => sprintf(_("%s installers configure security settings on your device, therefore you should be sure that you are using genuine ones."), CONFIG['APPEARANCE']['productname']).' '.(isset(CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name']) && CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name'] != "" ? sprintf(_("This is why %s installers are digitally signed by %s. Watch out for a system message confirming this."), CONFIG['APPEARANCE']['productname'], CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name']) : ""), |
|
54 | 54 | ]); |
55 | 55 | |
56 | 56 | array_push($FAQ, [ |
57 | 57 | 'title' => _("Windows 'SmartScreen' or 'Internet Explorer' tell me that the file is not commonly downloaded and possibly harmful. Should I be concerned?"), |
58 | - 'text' => _("Contrary to what the name suggests, 'SmartScreen' isn't actually very smart. The warning merely means that the file has not yet been downloaded by enough users to make Microsoft consider it popular (which would strangely enough make it be considered 'safe'). This message alone is not a security problem.") . " " . (isset(CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name']) && CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name'] != "" ? sprintf(_("So long as the file is carrying a valid signature from %s, the download is safe."), CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name']) . " " : "") . sprintf(_("Please see also Microsoft's FAQ regarding SmartScreen at %s."), "<a href='http://windows.microsoft.com/en-US/windows7/SmartScreen-Filter-frequently-asked-questions-IE9?SignedIn=1'>Microsoft FAQ</a>") |
|
58 | + 'text' => _("Contrary to what the name suggests, 'SmartScreen' isn't actually very smart. The warning merely means that the file has not yet been downloaded by enough users to make Microsoft consider it popular (which would strangely enough make it be considered 'safe'). This message alone is not a security problem.")." ".(isset(CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name']) && CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name'] != "" ? sprintf(_("So long as the file is carrying a valid signature from %s, the download is safe."), CONFIG_CONFASSISTANT['CONSORTIUM']['signer_name'])." " : "").sprintf(_("Please see also Microsoft's FAQ regarding SmartScreen at %s."), "<a href='http://windows.microsoft.com/en-US/windows7/SmartScreen-Filter-frequently-asked-questions-IE9?SignedIn=1'>Microsoft FAQ</a>") |
|
59 | 59 | ]); |
60 | 60 | |
61 | 61 | if (CONFIG['FUNCTIONALITY_LOCATIONS']['DIAGNOSTICS'] == NULL) { |
62 | 62 | $text = sprintf(_("There can be a number of different reasons. The network you see may not be a genuine %s one and your device silently drops the connection attempt; there may be something wrong with the configuration of the network; your account may have expired; there may be a connection problem with your home authentication server; you may have broken the regulations of the network you are using and have been refused access as a consequence. You should contact your organisation and report the problem, the administrators should be able to trace your connections."), CONFIG_CONFASSISTANT['CONSORTIUM']['display_name']); |
63 | 63 | } else { |
64 | 64 | if (CONFIG['FUNCTIONALITY_LOCATIONS']['DIAGNOSTICS'] == 'LOCAL') { |
65 | - $diagUrl = CONFIG['PATHS']['cat_base_url'] . "diag/"; |
|
65 | + $diagUrl = CONFIG['PATHS']['cat_base_url']."diag/"; |
|
66 | 66 | } else { |
67 | 67 | $diagUrl = CONFIG['FUNCTIONALITY_LOCATIONS']['DIAGNOSTICS']; |
68 | 68 | } |
@@ -99,8 +99,8 @@ discard block |
||
99 | 99 | $tocText = ""; |
100 | 100 | $fullText = ""; |
101 | 101 | foreach ($FAQ as $faq) { |
102 | - $tocText .= '<a href="#toc' . $counter . '">' . $faq['title'] . "</a><br>\n"; |
|
103 | - $fullText .= "<dt><a name=toc$counter>" . $faq['title'] . "</a></dt>\n<dd>" . $faq['text'] . "</dd>\n"; |
|
102 | + $tocText .= '<a href="#toc'.$counter.'">'.$faq['title']."</a><br>\n"; |
|
103 | + $fullText .= "<dt><a name=toc$counter>".$faq['title']."</a></dt>\n<dd>".$faq['text']."</dd>\n"; |
|
104 | 104 | $counter++; |
105 | 105 | } |
106 | 106 | ?> |
@@ -34,9 +34,9 @@ |
||
34 | 34 | $skinObject = new \web\lib\user\Skinjob("classic"); |
35 | 35 | /// eduroam CAT, twice the consortium name eduroam, twice eduroam CAT |
36 | 36 | $out = sprintf(_("<span class='edu_cat'>%s</span> is built as a cooperation platform."))."<p>". |
37 | - sprintf(_("Local %s administrators enter their %s configuration details and based on them, <span class='edu_cat'>%s</span> builds customised installers for a number of popular platforms. ". |
|
38 | - "An installer prepared for one organisation will not work for users of another one, therefore if your organisation is not on the list, you cannot use this system. ". |
|
39 | - "Please contact your local administrators and try to influence them to add your %s configuration to <span class='edu_cat'>%s</span>."), |
|
37 | + sprintf(_("Local %s administrators enter their %s configuration details and based on them, <span class='edu_cat'>%s</span> builds customised installers for a number of popular platforms. ". |
|
38 | + "An installer prepared for one organisation will not work for users of another one, therefore if your organisation is not on the list, you cannot use this system. ". |
|
39 | + "Please contact your local administrators and try to influence them to add your %s configuration to <span class='edu_cat'>%s</span>."), |
|
40 | 40 | CONFIG['APPEARANCE']['productname'], |
41 | 41 | CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'], |
42 | 42 | CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'], |
@@ -42,10 +42,10 @@ discard block |
||
42 | 42 | CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'], |
43 | 43 | CONFIG['APPEARANCE']['productname'], |
44 | 44 | CONFIG['APPEARANCE']['productname']); |
45 | -$out .= "<p>" . sprintf(_("<span class='edu_cat'>%s</span> currently supports the following devices and EAP type combinations:"), CONFIG['APPEARANCE']['productname']) . "</p>"; |
|
46 | -$out .= "<table><tr><th>" . _("Device Group") . "</th><th>" . _("Device") . "</th>"; |
|
45 | +$out .= "<p>".sprintf(_("<span class='edu_cat'>%s</span> currently supports the following devices and EAP type combinations:"), CONFIG['APPEARANCE']['productname'])."</p>"; |
|
46 | +$out .= "<table><tr><th>"._("Device Group")."</th><th>"._("Device")."</th>"; |
|
47 | 47 | foreach (\core\common\EAP::listKnownEAPTypes() as $oneeap) { |
48 | - $out .= "<th style='min-width: 80px;'>" . $oneeap->getPrintableRep() . "</th>"; |
|
48 | + $out .= "<th style='min-width: 80px;'>".$oneeap->getPrintableRep()."</th>"; |
|
49 | 49 | } |
50 | 50 | $out .= "</tr>"; |
51 | 51 | foreach (\devices\Devices::listDevices() as $index => $onedevice) { |
@@ -54,12 +54,12 @@ discard block |
||
54 | 54 | continue; |
55 | 55 | } |
56 | 56 | } |
57 | - $vendor = (new \web\lib\user\Skinjob())->findResourceUrl("IMAGES", "vendorlogo/" . $onedevice['group'] . ".png"); |
|
57 | + $vendor = (new \web\lib\user\Skinjob())->findResourceUrl("IMAGES", "vendorlogo/".$onedevice['group'].".png"); |
|
58 | 58 | $vendorImg = ""; |
59 | 59 | if ($vendor !== FALSE) { |
60 | 60 | $vendorImg = "<img src='$vendor' alt='logo'>"; |
61 | 61 | } |
62 | - $out .= "<tr><td class='vendor'>$vendorImg</td><td>" . $onedevice['display'] . "</td>"; |
|
62 | + $out .= "<tr><td class='vendor'>$vendorImg</td><td>".$onedevice['display']."</td>"; |
|
63 | 63 | $device_instance = new \core\DeviceFactory($index); |
64 | 64 | foreach (\core\common\EAP::listKnownEAPTypes() as $oneeap) { |
65 | 65 | $out .= "<td>"; |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * <base_url>/copyright.php after deploying the software |
20 | 20 | */ |
21 | 21 | |
22 | -require_once dirname(dirname(dirname(__FILE__))) . "/config/_config.php"; |
|
22 | +require_once dirname(dirname(dirname(__FILE__)))."/config/_config.php"; |
|
23 | 23 | |
24 | 24 | CAT_session_start(); |
25 | 25 |