Skip to content

Commit 1d6fef7

Browse files
authored
Adjusted spacing
1 parent 3f5075a commit 1d6fef7

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

functions.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@
77
|
88
| These are core functions necessary to run the nano-framework:
99
|
10-
| 1. url_path() - retrieves the URL path substring separated by '/'
11-
| 2. route_rpc() - JSON-RPC v2.0 compatibility layer
12-
| 3. route_auto() - automatic routing of URL path to Class and method
13-
| 4. route_class() - routes URL path request to Controllers
14-
| 5. view() - passes data and renders the View
15-
| 6. pdo_conn() - PHP Data Objects (PDO) database connection
16-
| 7. api_response() - handles API response
17-
| 8. api_call() - handles API call
18-
| 9. firewall() - web application firewall
19-
| 10. force_ssl() - force application to use SSL
20-
| 11. esc() - uses htmlspecialchars() to prevent XSS
21-
| 12. csrf_token() - uses sessions to create per request CSRF token
22-
| 13. encrypt() - encrypt data using AES-CBC-HMAC
23-
| 14. decrypt() - decrypt data using AES-CBC-HMAC
10+
| 1. url_path() - retrieves the URL path substring separated by '/'
11+
| 2. route_rpc() - JSON-RPC v2.0 compatibility layer
12+
| 3. route_auto() - automatic routing of URL path to Class and method
13+
| 4. route_class() - routes URL path request to Controllers
14+
| 5. view() - passes data and renders the View
15+
| 6. pdo_conn() - PHP Data Objects (PDO) database connection
16+
| 7. api_response() - handles API response
17+
| 8. api_call() - handles API call
18+
| 9. firewall() - web application firewall
19+
| 10. force_ssl() - force application to use SSL
20+
| 11. esc() - uses htmlspecialchars() to prevent XSS
21+
| 12. csrf_token() - uses sessions to create per request CSRF token
22+
| 13. encrypt() - encrypt data using AES-CBC-HMAC
23+
| 14. decrypt() - decrypt data using AES-CBC-HMAC
2424
|
2525
*/
2626

views/encryption.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
<div class="container">
1212
<div class="row">
1313
<div class="col-lg-12">
14-
<h1 class="mt-5 text-center">Encryption</h1>
15-
<p>The plaintext:<br /><strong><?= $plaintext ?></strong></p>
16-
<p>The encrypted:<br /><strong><?= $encrypted ?></strong></p>
17-
<p>The decrypted:<br /><strong><?= $decrypted ?></strong></p>
14+
<h1 class="mt-5 text-center">Encryption</h1>
15+
<p>The plaintext:<br /><strong><?= $plaintext ?></strong></p>
16+
<p>The encrypted:<br /><strong><?= $encrypted ?></strong></p>
17+
<p>The decrypted:<br /><strong><?= $decrypted ?></strong></p>
1818
</div>
1919
</div>
2020
</div>

0 commit comments

Comments
 (0)