How to tell SilverStripe that a folder of code (containing a _config subfolder) is not a SilverStripe module? -


i have non-silverstripe app want store in folder in root of silverstripe website folder. let's call myapp.

it has folder in called _config (ie myapp/_config)

when flush of site, error:

fatal error: uncaught exception 'exception' message 'there 2 files containing "event" class: ... 

apparently silverstripe trying treat myapp module, existence of _config folder (this documented here). how can tell not that?

in file core/manifest/manifestfilefinder.php found seemed cause modules excluded. turns out needed add file myapp folder named _manifest_exclude

once file existed, fixed problem.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -