E
E
Emil Rakhmatullin2019-03-28 09:52:02
PHP
Emil Rakhmatullin, 2019-03-28 09:52:02

Why can't I include autoload.php?

I get an error:

Fatal error: require_once(): Failed opening required 'http://dist.(скрою).loc/vendor/autoload.php' (include_path='.;c:/ospanel/modules/php/PHP-7.2-x64;c:/ospanel/modules/php/PHP-7.2-x64/PEAR/pear') in C:\OSPanel\domains\dist.(скрою).loc\public\index.php on line 3

Connection code:
require_once __DIR__ . '/vendor/autoload.php';
$route = new \Klein\Klein();

Here is the structure of the project: This is the
5c9c6e69e4408877214983.png
first time I'm doing such a project...)) Help, pliz

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question