mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
93a0122c0f
Code was assuming that FRAMEWORK_DIR would always have a value. If it doesn’t (because you’re running a test instance of a naked framework) This caused URLs to be treated as root relative, which creates some duplicate-inclusion bugs. The use of ltrim() works, but is a bit clumsy. A more flexible approach to including front-end assets of given modules would be preferable; ideally something that also let you keep your code outside of the web root. |
||
---|---|---|
.. | ||
files | ||
CMSProfileControllerTest.php | ||
CMSProfileControllerTest.yml | ||
ControllerTest.php | ||
ControllerTest.yml | ||
CookieJarTest.php | ||
CookieTest.php | ||
DirectorTest.php | ||
FlushRequestFilterTest.php | ||
HTTPRequestTest.php | ||
HTTPResponseTest.php | ||
HTTPTest.php | ||
NullHTTPRequestTest.php | ||
PjaxResponseNegotiatorTest.php | ||
RequestHandlingTest.php | ||
SessionTest.php |