Hello, quite a dumb question, but I’m having trouble requiring a file.
Just for reference, here is what my folder tree looks like:
|index.php
├── controllers
│ └── boost.php
Ive tried:
require __DIR__ . '../controllers/boost.php';
require __DIR__ . '/controllers/boost.php';
require 'controllers/boost.php';
require '/controllers/boost.php';
All of the above fail. Why is that?