Commit Graph

17 Commits

Author SHA1 Message Date
Sean Harvey bffd187e1e ENHANCEMENT BASE_URL calculation now uses realpath() to calculate any symlinks in environment variable SCRIPT_FILENAME
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115058 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-15 04:59:54 +00:00
Ingo Schommer 683cf79fe6 BUGFIX Bypass static caching through static-main.php when GET or POST parameters are set (regression from 2.3 API, fixes #5519, thanks ktauber) (from r103961)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112327 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-14 23:52:30 +00:00
Sam Minnee 0b4e4428be MINOR: Merges from branches/2.4
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112157 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:04:32 +00:00
Sam Minnee a45a48353e MINOR Reverted accidental commit of date_default_timezone_set() to Pacific/Auckland (see r89164) (from r103345)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112135 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 03:44:52 +00:00
Sam Minnee 9817eb5c60 BUGFIX: Fix static caching file lookup to match file generation. (from r101034)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@111567 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-04 04:32:13 +00:00
Ingo Schommer d87964f359 MINOR make cache header clearer (from r100732)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105632 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-25 04:26:15 +00:00
Ingo Schommer ec983aec73 MINOR make static caching smarter around cacheSubdirs (from r99076)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102836 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 04:00:10 +00:00
Ingo Schommer 6663e12668 MINOR force a specific cache subdirectory (from r99009)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102821 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:51:20 +00:00
Ingo Schommer 45c5163c18 BUGFIX fix for #5076 (from r98957)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102818 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:50:21 +00:00
Ingo Schommer 6f8f7ba90a MINOR if looking at a specific stage, set a cooking to bypass static cacheing (from r91006) (from r96738)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102364 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 02:33:08 +00:00
Sam Minnee 7dd6d10cde MINOR added more documentation around SiteConfig. Also wrote unit tests for permissions inheritance off it. (from r86132)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89164 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 21:53:15 +00:00
Sam Minnee d3ae7b1d7f MINOR static publisher cache debugging (from r84871)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89156 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 21:46:36 +00:00
Tom Rix a39ec17057 MINOR batchactions JS fix
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@83594 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-03 21:53:30 +00:00
Tom Rix 61ed3df367 MINOR fixed relative URL resolver in Director::test()
MINOR improved documentation in static-main.php

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@81749 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-14 01:21:04 +00:00
Tom Rix 48f200961e MINOR smarter static-main.php, now detects automatically if you are using domain based cacheing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@81713 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-13 20:38:37 +00:00
Tom Rix a81f387945 MINOR smarter static-main.php, now detects automatically if you are using domain based cacheing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@81712 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-13 20:28:31 +00:00
Tom Rix d04c967558 ENHANCEMENT STaticPublisher can now play nice with Subsites, you just need to set FilesystemPublisher::domain_based_caching to true. You also need to change your .htaccess to point all requests to sapphire/static-main.php, rather than main.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@81684 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-13 04:42:48 +00:00