Обучение #39
17
test.php
17
test.php
@ -1,17 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
use DarksLight2\Training\Steps\FirstStep;
|
|
||||||
use DarksLight2\Training\TrainingException;
|
|
||||||
use DarksLight2\Training\TrainingManager;
|
|
||||||
|
|
||||||
if (session_status() === PHP_SESSION_NONE) {
|
|
||||||
session_start();
|
|
||||||
}
|
|
||||||
if (isset($_GET['unset'])) {
|
|
||||||
session_unset();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!defined('GAME_VERSION')) {
|
|
||||||
require_once '_incl_data/autoload.php';
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user