Is it possible to consistently access files outside the public_html folder on the server to render a View?
What I need is to call js
and css files and point the images that are within the View layer that is in the app. This in turn would be on the same level as public_html
, not inside it. The public_html
would contain only one file named index.php
and .htaccess
. The index.php
would call the Init.php
in the app root that defines the routes and passes to the Core of the application rendering the layout through the file Bootstrap.php
The MVC
app/
Model/
View/
templates/
css/
img/
js/
Controller/
vendor/
composer/
Core/
pubic_html/
- index.php