@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php require_once __DIR__ . "/_prepend.php"; ?><html lang="en"> |
|
1 | +<?php require_once __DIR__."/_prepend.php"; ?><html lang="en"> |
|
2 | 2 | <head><title>xmlrpc - Mail demo</title></head> |
3 | 3 | <body> |
4 | 4 | <h1>Mail demo</h1> |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | <?php |
15 | 15 | |
16 | 16 | // Use the custom class autoloader. These two lines not needed when the phpxmlrpc library is installed using Composer |
17 | -include_once __DIR__ . "/../../src/Autoloader.php"; |
|
17 | +include_once __DIR__."/../../src/Autoloader.php"; |
|
18 | 18 | PhpXmlRpc\Autoloader::register(); |
19 | 19 | |
20 | 20 | if (isset($_POST["mailto"]) && $_POST["mailto"]) { |
@@ -38,8 +38,8 @@ discard block |
||
38 | 38 | print "<font color=\"red\">"; |
39 | 39 | print "Mail send failed<br/>\n"; |
40 | 40 | print "Fault: "; |
41 | - print "Code: " . htmlspecialchars($resp->faultCode()) . |
|
42 | - " Reason: '" . htmlspecialchars($resp->faultString()) . "'<br/>"; |
|
41 | + print "Code: ".htmlspecialchars($resp->faultCode()). |
|
42 | + " Reason: '".htmlspecialchars($resp->faultString())."'<br/>"; |
|
43 | 43 | print "</font><br/>"; |
44 | 44 | } |
45 | 45 | } |
@@ -57,4 +57,4 @@ discard block |
||
57 | 57 | <input type="Submit" value="Send"/> |
58 | 58 | </form> |
59 | 59 | </body> |
60 | -</html><?php require_once __DIR__ . "/_append.php"; ?> |
|
60 | +</html><?php require_once __DIR__."/_append.php"; ?> |