Dear all,
I guess most of us is used to create some secure-as-possible sites and apps. Proper folder structure is one of that routines.
root
|- _docs/
| |- prezentation_to_client_or_whatever.pdf
|
|- config/
| |- config.php
| |- connect.php
| |- router.php
| |- etc…
|
|- templates/
| |- footer.html
| |- header.php
| |- navigation.php
| |- page-content.html
| |- etc…
|
|- www/
|- css/
|- img/
|- vendor/
|- sitecake/
|- index.php
|- sitecake.php
|- .scpages
- Main question is - any way how to manage sc-content elements stored upper than website root?
I didn’t saw around any suggestion that folder architecture as example above should work, so i don’t expect much - just want to be sure and help comunity with knowledge completion as also in documentation this wasnt specificaly excluded/confirmed (just that paths should be relatve in PHP section).
Is there any recommended folder structure by design reflecting best security practices, convenience of separating code in reusable blocks (files) and preserving SC features?
Desh.