Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

$project Folder


Reply


3 Posts   1029 Views

Avatar
Mo

Community Member, 514 Posts

1 June 2009 at 10:32pm

Is it normal behavior for SS to expect a folder in your SS route, that has the same name as the Project name you set in _config.php?

If so, what are you supposed to put in there? Does it matter?

Cheers,

Mo

Avatar
AdamJ

Community Member, 145 Posts

1 June 2009 at 11:06pm

The project folder is where you put all your code. It takes its name from the project name setting in the config file. mysite is the default setting in your _config file and therefore also the default folder. Take a look through the [url=http://doc.silverstripe.org/doku.php?id=tutorial:1-building-a-basic-site]first[/url] and [url=http://doc.silverstripe.org/doku.php?id=tutorial:2-extending-a-basic-site&s=mysite]second[/url] tutorials for information on this.

Avatar
Mo

Community Member, 514 Posts

2 June 2009 at 10:40am

Aghhhhhhh.....

It just twigged. All my code is in /mysite, which is the default install path. Even though I changed the project name, I didnt change the folder name, just created a new one, to shut up the error message that it was giving me.

All my code is still in the "mysite" folder... But it still works fine though, which is quite amusing :).

I will sort out my folder structure, when I get 5 mins.

Cheers,

Mo