Hi, I'm trying to make some changes to my _config.php file so I can add some schema to my site but I am having trouble finding my /mysite/ directory - is there a file where the /mysite/ directory would be defined or how would I go about finding out which directory is the /mysite/ directory?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi Mako.cal,
Who is your hosting with?
If it was a local copy through xampp, you will find all your files within "htdocs".
However when it comes to hosting on the web, if you have root folder access you may find an "public_html" folder which will have your "mysite" folder among other folders inside.
-helenclarko
The mysite folder sits in the installation root.
eg.
assets/
cms/
framework/
mysite/
themes/
It can however be altered. You will need to find a module with _config.php in it's base (so foldername/_config.php)
where this _config.php has:
global $project;
$project = 'foldername'
cf. https://github.com/silverstripe/silverstripe-installer/blob/3.2/mysite/_config.php#L4
grep or some other search tool will help here.
It seems that the developer who originally installed the CMS renamed the folder to /app/