silverstripe-framework/tests
Sam Minnee 93a0122c0f FIX: Don’t treat URLs as root relative when FRAMEWORK_DIR = “”
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.
2016-09-16 16:16:39 +12:00
..
api API Namespace all classes 2016-09-08 10:23:17 +12:00
assets FIX extra_requirements to accept non associative arrays. 2013-06-02 13:37:34 +12:00
behat API Namespace all classes 2016-09-08 10:23:17 +12:00
cache Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
control FIX: Don’t treat URLs as root relative when FRAMEWORK_DIR = “” 2016-09-16 16:16:39 +12:00
core FIX: Don’t treat URLs as root relative when FRAMEWORK_DIR = “” 2016-09-16 16:16:39 +12:00
dev Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
email API Namespace all classes 2016-09-08 10:23:17 +12:00
filesystem Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
forms API Moved CMS-specific JavaScript to admin/thirdparty 2016-09-16 13:46:10 +12:00
i18n Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
injector API Namespace all classes 2016-09-08 10:23:17 +12:00
integration Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
model Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
parsers API Namespace all classes 2016-09-08 10:23:17 +12:00
phpcs Add code-sniffs other than line length to scrutinizer 2013-05-23 10:39:01 +12:00
search API Namespace all classes 2016-09-08 10:23:17 +12:00
security Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
templates API Theme stacking 2016-07-15 16:29:25 +12:00
testing API Namespace all classes 2016-09-08 10:23:17 +12:00
view Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
bootstrap.php API Namespace all classes 2016-09-08 10:23:17 +12:00
FakeController.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
MemoryLimitTest.php API Namespace all classes 2016-09-08 10:23:17 +12:00
phpcs_runner.php Only have Scrutinizer check PHP files 2013-08-21 21:02:12 +12:00
PhpSyntaxTest.php API Namespace all classes 2016-09-08 10:23:17 +12:00