11 lines
348 B
PHP
11 lines
348 B
PHP
<?php
|
|
// Upload this whole folder, not only this file. No Node.js or database required.
|
|
header('Content-Type: text/html; charset=utf-8');
|
|
header('X-Content-Type-Options: nosniff');
|
|
$file = __DIR__ . '/app.html';
|
|
if (!is_readable($file)) {
|
|
http_response_code(500);
|
|
exit('Chybi app.html. Nahrajte celou slozku locenice.');
|
|
}
|
|
readfile($file);
|