Jump to:

23369 Posts in 18155 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » $project Folder

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

Page: 1
Go to End
Author Topic: 973 Views
  • Mo
    Avatar
    Community Member
    505 Posts

    $project Folder Link to this post

    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

  • AdamJ
    Avatar
    Community Member
    145 Posts

    Re: $project Folder Link to this post

    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 first and second tutorials for information on this.

  • Mo
    Avatar
    Community Member
    505 Posts

    Re: $project Folder Link to this post

    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

    973 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.