Wyruca mi następujący błąd:
Warning: require_once(/note/src/Utils/debug.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\note\index.php on line 7
Fatal error: Uncaught Error: Failed opening required '/note/src/Utils/debug.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\note\index.php:7 Stack trace: #0 {main} thrown in C:\xampp\htdocs\note\index.php on line 7
Wydaje mi się, że scieżka jest prawidłowa, a przy próbie zmiany problem nie znika.
adresy plików:
C:\xampp\htdocs\note\src\Utils
C:\xampp\htdocs\note\src
<?php declare(strict_types=1); namespace App; require_once('/note/src/Utils/debug.php'); require_once('/note/src/Controller.php'); $request = [ 'get' => $_GET, 'post' => $_POST ]; //$controller = new Controller($request); //$controller->run(); (new Controller($request))->run();