fixed the warning

This commit is contained in:
Viktor Sergeev 2025-07-07 09:13:05 +02:00
parent cc4bc791c9
commit c6358b5ea6

View File

@ -1,10 +1,9 @@
<?php
session_start();
include 'Views/header.phtml';
?>
<div id="wrapper">
<?php
session_start();
spl_autoload_register(function ($className) {
if (substr($className, 0, 5) !== 'Blog\\') {
// not our business