Jump to:

23450 Posts in 18899 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Ignore php files

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: 1044 Views
  • dompie
    Avatar
    Community Member
    88 Posts

    Ignore php files Link to this post

    Hello,

    I have some custom php-shell skripts in mySite directory. Unfortunately Silverstripe executes them when running /dev/build and fails with a Fatal. How can I tell Silverstripe to skip some files during build?

  • Devlin
    Avatar
    Community Member
    215 Posts

    Re: Ignore php files Link to this post

    Put a empty file named "_manifest_exclude" together with your shell scripts in a seperated folder.

  • dompie
    Avatar
    Community Member
    88 Posts

    Re: Ignore php files Link to this post

    Thanks, that works great.
    Another solution is to prefix the file(s) with an underscore '_' . But excluding a whole directory fits better for me.

    1044 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.