theme's index.php can not be run outside the core

This commit is contained in:
Max Pozdeev 2021-07-15 20:22:01 +03:00
parent 665f497b64
commit f4eb291491

View file

@ -1,4 +1,7 @@
<?php header("Content-type: text/html; charset=utf-8"); ?>
<?php
if (!defined('MTTPATH')) die("Unexpected usage.");
header("Content-type: text/html; charset=utf-8");
?>
<!doctype html>
<html>
<head>