Open sabina-talipova opened 1 year ago
Changes need to be made to SimpleResourceURLGenerator::resolveModuleResource as Non-public directories are no longer supported in CMS 5. There's a block here that only applies if there's no public directory.
See: https://github.com/silverstripe/silverstripe-framework/blob/cf78a9d785b9959a92dfb52c2a456bea80a4c567/src/Control/SimpleResourceURLGenerator.php#L143
We need to consider what happens for usage of framework that isn't using a web server (e.g. pure CLI apps)
Description
Changes need to be made to SimpleResourceURLGenerator::resolveModuleResource as Non-public directories are no longer supported in CMS 5. There's a block here that only applies if there's no public directory.
See: https://github.com/silverstripe/silverstripe-framework/blob/cf78a9d785b9959a92dfb52c2a456bea80a4c567/src/Control/SimpleResourceURLGenerator.php#L143
Note
We need to consider what happens for usage of framework that isn't using a web server (e.g. pure CLI apps)