| @@ -71,13 +71,8 @@ | ||
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | 73 | * Ensure the receipts directory exists with security files. |
| 74 | 74 | * |
| 75 | - * Note: the .htaccess deny rule only protects the directory on Apache; | |
| 76 | - * nginx ignores .htaccess, so there protection relies on the unguessable | |
| 77 | - * random receipt filenames plus delivery through the authenticated REST | |
| 78 | - * streaming endpoint. | |
| 79 | - * | |
| 80 | 75 | * @return bool True if directory exists or was created. |
| 81 | 76 | * @since 1.0.0 |
| 82 | 77 | */ |
| 83 | 78 | public static function ensure_receipts_dir() { |