+8
-2
@@ -1,4 +1,10 @@
|
||||
<?php
|
||||
|
||||
// Upload this whole folder, not only this file. No Node.js or database required.
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
readfile(__DIR__ . '/app.html');
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user