Bicycle/tests/bootstrap.php
Egor Isaev b516ca07dc Initial commit: Bicycle PHP MVC micro-framework
Core MVC, HTTP client, Session, Cookie, Config, HTTPException — 111 PHPUnit tests.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04 10:04:19 +03:00

12 lines
434 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
const EXT = '.php';
define('DOCROOT', dirname(__DIR__));
define('APPPATH', DOCROOT . '/App');
define('SYSPATH', DOCROOT . '/System');
require_once DOCROOT . '/vendor/autoload.php';
// Core::init() не вызывается намеренно: его обработчики ошибок конфликтуют
// с PHPUnit. Core::findFile() инициализирует $_paths лениво при первом вызове.